File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,8 @@ pip install pytest pytest-xdist
2626
2727if ! pytest " $PACKAGE_NAME /test/test_utils.py" ; then
2828 echo " ------------------$PACKAGE_NAME :install_success_but_test_fails---------------------"
29-
30- else
31- echo " ------------------$PACKAGE_NAME :install_and_test_both_success-------------------------"
32- fi
33- if ! pytest -v -s " $PACKAGE_NAME /test" ; then
34- echo " ------------------$PACKAGE_NAME :install_success_but_test_fails---------------------"
3529 exit 2
30+
3631else
3732 echo " ------------------$PACKAGE_NAME :install_and_test_both_success-------------------------"
3833 exit 0
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ jobs:
119119 # checkout. In other cases you should prefer a local checkout.
120120 - name : Checkout PyTorch
121121 uses : pytorch/pytorch/.github/actions/checkout-pytorch@main
122+ if : inputs.build-environment != 'linux-ppc64le-binary-manywheel-ubi9'
122123 with :
123124 no-sudo : true
124125
@@ -159,7 +160,6 @@ jobs:
159160
160161 - name : Parse ref
161162 id : parse-ref
162- if : inputs.build-environment != 'linux-ppc64le-binary-manywheel-ubi9'
163163 run : .github/scripts/parse_ref.py
164164
165165 - name : Get workflow job id
@@ -276,7 +276,7 @@ jobs:
276276 END_TIME=$(date +%s)
277277 echo "build_time=$((END_TIME - START_TIME))" >> "$GITHUB_OUTPUT"
278278
279- - name : Run Docker container and execute build script
279+ - name : Execute Build and Tests inside ppc64le Docker Container
280280 if : inputs.build-environment == 'linux-ppc64le-binary-manywheel-ubi9'
281281 run : |
282282 CONTAINER_NAME="temp_builder_${RUN_ID}"
Original file line number Diff line number Diff line change 1- name : ppc64le-build
1+ name : ppc64le
22
33on :
44 push :
@@ -26,10 +26,10 @@ jobs:
2626 uses : docker/setup-buildx-action@v2
2727 - name : Build Docker image for ppc64le
2828 run : |
29- docker build -f .github/workflows/Dockerfile.ppc64le -t pytorch-ppc64le:ubi9.3 .
29+ docker build -f .ci\docker\manywheel\Dockerfile_ppc64le -t pytorch-ppc64le:ubi9.3 .
3030
31- linux-ubi -9-3-cpu-ppc64le-build :
32- name : linux-ubi9-3-cpu-ppc64le
31+ ppc64le-UBI -9-3-Build-and-Test :
32+ name : ppc64le-UBI-9-3-Build-and-Test
3333 uses : ./.github/workflows/_linux-build.yml
3434 needs : linux-ppc64le-docker-image-build
3535 with :
You can’t perform that action at this time.
0 commit comments