Skip to content

Commit a3ef8bb

Browse files
manylinux image build
1 parent 32effb7 commit a3ef8bb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/_linux-build.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190

191191

192192
- name: Build
193-
if: steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == ''
193+
if: steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == '' && inputs.build-environment != 'linux-ppc64le-binary-manywheel'
194194
id: build
195195
env:
196196
BUILD_ENVIRONMENT: ${{ inputs.build-environment }}
@@ -276,13 +276,7 @@ jobs:
276276
- name: Execute Build and Tests inside ppc64le Docker Container
277277
if: inputs.build-environment == 'linux-ppc64le-binary-manywheel'
278278
run: |
279-
|
280-
CONTAINER_NAME="temp_builder_${RUN_ID}"
281-
docker run -d --name "$CONTAINER_NAME" pytorch-ppc64le:ubi9.3 /ppc64le-build.sh
282-
docker wait "$CONTAINER_NAME"
283-
docker logs "$CONTAINER_NAME"
284-
docker cp "$CONTAINER_NAME":/workspace/pytorch/dist/. dist/
285-
docker rm "$CONTAINER_NAME"
279+
docker run --rm -v ${GITHUB_WORKSPACE}:/workspace/pytorch pytorch/ubippc64le-builder:cpu-ppc64le-main /workspace/pytorch/.github/scripts/ppc64le-build.sh
286280
287281
288282
- name: Archive artifacts into zip

0 commit comments

Comments
 (0)