Pin python-libarchive-c. Pin conda and conda-build for VS2019 conda-build step #797
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Build MacOS Conda | |
on: | |
pull_request: | |
paths: | |
- .github/actions/setup-binary-builds/action.yml | |
- .github/workflows/test_build_conda_macos.yml | |
- .github/workflows/build_conda_macos.yml | |
- .github/workflows/generate_binary_build_matrix.yml | |
- .github/workflows/_binary_conda_upload.yml | |
- tools/scripts/generate_binary_build_matrix.py | |
jobs: | |
generate-matrix: | |
uses: ./.github/workflows/generate_binary_build_matrix.yml | |
with: | |
package-type: conda | |
os: macos | |
test-infra-repository: ${{ github.repository }} | |
test-infra-ref: ${{ github.ref }} | |
test: | |
needs: generate-matrix | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- repository: pytorch/audio | |
conda-package-directory: packaging/torchaudio | |
smoke-test-script: test/smoke_test/smoke_test.py | |
package-name: torchaudio | |
- repository: pytorch/vision | |
conda-package-directory: packaging/torchvision | |
smoke-test-script: test/smoke_test.py | |
package-name: torchvision | |
cache-path: "" | |
cache-key: "" | |
name: ${{ matrix.repository }} | |
uses: ./.github/workflows/build_conda_macos.yml | |
with: | |
conda-package-directory: ${{ matrix.conda-package-directory }} | |
repository: ${{ matrix.repository }} | |
ref: nightly | |
test-infra-repository: ${{ github.repository }} | |
test-infra-ref: ${{ github.ref }} | |
build-matrix: ${{ needs.generate-matrix.outputs.matrix }} | |
smoke-test-script: ${{ matrix.smoke-test-script }} | |
runner-type: macos-12 | |
package-name: ${{ matrix.package-name }} | |
trigger-event: "${{ github.event_name }}" | |
cache-path: ${{ matrix.cache-path }} | |
cache-key: ${{ matrix.cache-key }} | |
secrets: | |
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }} |