|
35 | 35 | pre-script: packaging/pre_build_script.sh
|
36 | 36 | env-var-script: packaging/env_vars.txt
|
37 | 37 | post-script: ""
|
38 |
| - smoke-test-script: "" |
| 38 | + smoke-test-script: "packaging/smoke_test.py" |
39 | 39 | package-name: torch_tensorrt
|
40 | 40 | name: Build torch-tensorrt whl package
|
41 | 41 | uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.2
|
|
74 | 74 | test-infra-repository: pytorch/test-infra
|
75 | 75 | test-infra-ref: release/2.2
|
76 | 76 | build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
|
77 |
| - pre-script: ${{ matrix.pre-script }} |
| 77 | + pre-script: packaging/pre_build_script_exit.sh |
78 | 78 | script: |
|
79 | 79 | export USE_HOST_DEPS=1
|
80 | 80 | export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
|
@@ -110,7 +110,7 @@ jobs:
|
110 | 110 | test-infra-repository: pytorch/test-infra
|
111 | 111 | test-infra-ref: release/2.2
|
112 | 112 | build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
|
113 |
| - pre-script: ${{ matrix.pre-script }} |
| 113 | + pre-script: packaging/pre_build_script_exit.sh |
114 | 114 | script: |
|
115 | 115 | export USE_HOST_DEPS=1
|
116 | 116 | pushd .
|
@@ -138,7 +138,7 @@ jobs:
|
138 | 138 | test-infra-repository: pytorch/test-infra
|
139 | 139 | test-infra-ref: release/2.2
|
140 | 140 | build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
|
141 |
| - pre-script: ${{ matrix.pre-script }} |
| 141 | + pre-script: packaging/pre_build_script_exit.sh |
142 | 142 | script: |
|
143 | 143 | export USE_HOST_DEPS=1
|
144 | 144 | pushd .
|
@@ -168,7 +168,7 @@ jobs:
|
168 | 168 | test-infra-repository: pytorch/test-infra
|
169 | 169 | test-infra-ref: release/2.2
|
170 | 170 | build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
|
171 |
| - pre-script: ${{ matrix.pre-script }} |
| 171 | + pre-script: packaging/pre_build_script_exit.sh |
172 | 172 | script: |
|
173 | 173 | export USE_HOST_DEPS=1
|
174 | 174 | pushd .
|
@@ -197,7 +197,7 @@ jobs:
|
197 | 197 | test-infra-repository: pytorch/test-infra
|
198 | 198 | test-infra-ref: release/2.2
|
199 | 199 | build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
|
200 |
| - pre-script: ${{ matrix.pre-script }} |
| 200 | + pre-script: packaging/pre_build_script_exit.sh |
201 | 201 | script: |
|
202 | 202 | export USE_HOST_DEPS=1
|
203 | 203 | pushd .
|
|
0 commit comments