|
1 |
| -name: Validate binary images |
| 1 | +name: Validate linux binaries |
2 | 2 |
|
3 | 3 | on:
|
4 | 4 | push:
|
|
9 | 9 | pull_request:
|
10 | 10 | paths:
|
11 | 11 | - .github/workflows/validate-linux-binaries.yml
|
12 |
| - - .test/smoke_test/smoke_test.py |
| 12 | + - .test/smoke_test/* |
13 | 13 | jobs:
|
14 | 14 | generate-conda-matrix:
|
15 | 15 | uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
|
|
29 | 29 | package-type: libtorch
|
30 | 30 | os: linux
|
31 | 31 | channel: nightly
|
| 32 | + |
| 33 | + |
32 | 34 | validate-linux-binaries-conda:
|
33 | 35 | needs: generate-conda-matrix
|
34 | 36 | strategy:
|
|
37 | 39 | fail-fast: false
|
38 | 40 | runs-on: ${{ matrix.validation_runner }}
|
39 | 41 | steps:
|
40 |
| - - name: Checkout PyTorch builder |
41 |
| - uses: actions/checkout@v2 |
42 | 42 | - name: Validate binary conda
|
43 |
| - uses: ./.github/actions/validate-linux-binary |
| 43 | + uses: pytorch/builder/.github/actions/validate-binary@main |
44 | 44 | with:
|
45 | 45 | gpu_arch_type: ${{ matrix.gpu_arch_type }}
|
46 | 46 | gpu_arch_ver: ${{ matrix.gpu_arch_version }}
|
|
54 | 54 | fail-fast: false
|
55 | 55 | runs-on: ${{ matrix.validation_runner }}
|
56 | 56 | steps:
|
57 |
| - - name: Checkout PyTorch builder |
58 |
| - uses: actions/checkout@v2 |
59 | 57 | - name: Validate binary wheel
|
60 |
| - uses: ./.github/actions/validate-linux-binary |
| 58 | + uses: pytorch/builder/.github/actions/validate-binary@main |
61 | 59 | with:
|
62 | 60 | gpu_arch_type: ${{ matrix.gpu_arch_type }}
|
63 | 61 | gpu_arch_ver: ${{ matrix.gpu_arch_version }}
|
|
73 | 71 | env:
|
74 | 72 | PYTHON_VERSION: ${{ matrix.python_version }}
|
75 | 73 | steps:
|
76 |
| - - name: Checkout PyTorch builder |
77 |
| - uses: actions/checkout@v2 |
78 | 74 | - name: Install pytorch and smoke test
|
79 | 75 | env:
|
80 | 76 | INSTALLATION: ${{ matrix.installation }}
|
|
0 commit comments