Skip to content

Commit fc03f3c

Browse files
ppc64le ci changes
1 parent 81cd162 commit fc03f3c

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.github/scripts/ppc64le-build.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,8 @@ pip install pytest pytest-xdist
2626

2727
if ! 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+
3631
else
3732
echo "------------------$PACKAGE_NAME:install_and_test_both_success-------------------------"
3833
exit 0

.github/workflows/_linux-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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}"

.github/workflows/ppc64le.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ppc64le-build
1+
name: ppc64le
22

33
on:
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:

0 commit comments

Comments
 (0)