Unverified Commit 6945201d authored by Andrey Talman's avatar Andrey Talman Committed by GitHub
Browse files

Add conda install step for torchvision (#6590)

parent fad476a2
...@@ -36,6 +36,8 @@ jobs: ...@@ -36,6 +36,8 @@ jobs:
if: ${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }} if: ${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
run: | run: |
echo "CHANNEL=test" >> "$GITHUB_ENV" echo "CHANNEL=test" >> "$GITHUB_ENV"
- name: Setup miniconda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
- name: Build TorchVision M1 wheel - name: Build TorchVision M1 wheel
shell: arch -arch arm64 bash {0} shell: arch -arch arm64 bash {0}
env: env:
...@@ -109,12 +111,13 @@ jobs: ...@@ -109,12 +111,13 @@ jobs:
if: ${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }} if: ${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
run: | run: |
echo "CHANNEL=test" >> "$GITHUB_ENV" echo "CHANNEL=test" >> "$GITHUB_ENV"
- name: Setup miniconda
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
- name: Install conda-build and purge previous artifacts - name: Install conda-build and purge previous artifacts
shell: arch -arch arm64 bash {0} shell: arch -arch arm64 bash {0}
run: | run: |
conda install -yq conda-build conda install -yq conda-build
conda build purge-all conda build purge-all
- name: Build TorchVision M1 conda package - name: Build TorchVision M1 conda package
shell: arch -arch arm64 bash {0} shell: arch -arch arm64 bash {0}
env: env:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment