|
| 1 | +name: Test Build Linux Aarch64 Wheels with CUDA |
| 2 | + |
| 3 | +on: |
| 4 | + pull_request: |
| 5 | + paths: |
| 6 | + - .github/actions/setup-binary-builds/action.yml |
| 7 | + - .github/workflows/test_build_wheels_linux.yml |
| 8 | + - .github/workflows/build_wheels_linux.yml |
| 9 | + - .github/workflows/generate_binary_build_matrix.yml |
| 10 | + - .github/workflows/test_build_wheels_linux_aarch64_with_cuda.yml |
| 11 | + - tools/scripts/generate_binary_build_matrix.py |
| 12 | + workflow_dispatch: |
| 13 | + |
| 14 | +permissions: |
| 15 | + id-token: write |
| 16 | + contents: read |
| 17 | + |
| 18 | +jobs: |
| 19 | + generate-matrix: |
| 20 | + uses: ./.github/workflows/generate_binary_build_matrix.yml |
| 21 | + with: |
| 22 | + package-type: wheel |
| 23 | + os: linux-aarch64 |
| 24 | + test-infra-repository: ${{ github.repository }} |
| 25 | + test-infra-ref: ${{ github.ref }} |
| 26 | + with-cuda: enable |
| 27 | + test: |
| 28 | + needs: generate-matrix |
| 29 | + strategy: |
| 30 | + fail-fast: false |
| 31 | + matrix: |
| 32 | + include: |
| 33 | + - repository: pytorch/vision |
| 34 | + pre-script: packaging/pre_build_script.sh |
| 35 | + post-script: packaging/post_build_script.sh |
| 36 | + smoke-test-script: test/smoke_test.py |
| 37 | + package-name: torchvision |
| 38 | + - repository: pytorch/audio |
| 39 | + smoke-test-script: test/smoke_test/smoke_test.py |
| 40 | + package-name: torchaudio |
| 41 | + uses: ./.github/workflows/build_wheels_linux.yml |
| 42 | + name: ${{ matrix.repository }} |
| 43 | + with: |
| 44 | + repository: ${{ matrix.repository }} |
| 45 | + ref: nightly |
| 46 | + test-infra-repository: ${{ github.repository }} |
| 47 | + test-infra-ref: ${{ github.ref }} |
| 48 | + build-matrix: ${{ needs.generate-matrix.outputs.matrix }} |
| 49 | + pre-script: ${{ matrix.pre-script }} |
| 50 | + post-script: ${{ matrix.post-script }} |
| 51 | + smoke-test-script: ${{ matrix.smoke-test-script }} |
| 52 | + package-name: ${{ matrix.package-name }} |
| 53 | + trigger-event: "${{ github.event_name }}" |
| 54 | + architecture: aarch64 |
| 55 | + setup-miniconda: false |
0 commit comments