-
Notifications
You must be signed in to change notification settings - Fork 84
53 lines (51 loc) · 1.83 KB
/
test_build_wheels_linux_with_cuda.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Test Build Linux Wheels with CUDA
on:
pull_request:
paths:
- .github/actions/setup-binary-builds/action.yml
- .github/workflows/test_build_wheels_linux.yml
- .github/workflows/build_wheels_linux.yml
- .github/workflows/generate_binary_build_matrix.yml
- .github/workflows/test_build_wheels_linux_with_cuda.yml
- tools/scripts/generate_binary_build_matrix.py
workflow_dispatch:
jobs:
generate-matrix:
uses: ./.github/workflows/generate_binary_build_matrix.yml
with:
package-type: wheel
os: linux
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
test:
needs: generate-matrix
strategy:
fail-fast: false
matrix:
include:
- repository: pytorch/audio
smoke-test-script: test/smoke_test/smoke_test.py
package-name: torchaudio
- repository: pytorch/vision
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: test/smoke_test.py
package-name: torchvision
# - repository: pytorch/torchrec
# pre-script: ""
# post-script: ""
# smoke-test-script: ""
# package-name: torchrec
uses: ./.github/workflows/build_wheels_linux.yml
name: ${{ matrix.repository }}
with:
repository: ${{ matrix.repository }}
ref: nightly
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
smoke-test-script: ${{ matrix.smoke-test-script }}
package-name: ${{ matrix.package-name }}
trigger-event: "${{ github.event_name }}"