File tree Expand file tree Collapse file tree 2 files changed +3
-28
lines changed Expand file tree Collapse file tree 2 files changed +3
-28
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,9 @@ jobs:
212212 - name : Run Docker container and execute build script
213213 if : inputs.build-environment == 'linux-ppc64le-binary-manywheel'
214214 run : |
215- docker run --rm -v "$(pwd):/workspace/pytorch" pytorch-ppc64le:ubi9.3 bash
215+ docker run -d --name temp_builder pytorch-ppc64le:ubi9.3 /ppc64le-build.sh
216+ docker wait temp_builder
217+ docker cp temp_builder:/workspace/pytorch/dist/. dist/
216218
217219
218220 - name : Build
Original file line number Diff line number Diff line change 2929 run : |
3030 docker build -f .github/workflows/Dockerfile.ppc64le -t pytorch-ppc64le:ubi9.3 .
3131
32-
33-
34- - name : Run Docker container and execute build script
35- run : |
36- docker run -d --name temp_builder pytorch-ppc64le:ubi9.3 /ppc64le-build.sh
37- docker wait temp_builder
38- docker cp temp_builder:/workspace/pytorch/dist/. dist/
39-
40- - name : Archive ppc64le artifacts into zip
41-
42- run : |
43- set -e
44- if [ -d "dist" ]; then
45- rm -f artifacts.zip # Remove old zip if it exists
46- zip -9 -r artifacts.zip dist/
47- else
48- echo "Warning: dist directory not found, skipping artifact creation."
49- fi
50-
51- - name : Store PyTorch Build Artifacts for ppc64le
52- uses : actions/upload-artifact@v4
53-
54- with :
55- name : test
56- retention-days : 14
57- if-no-files-found : error
58- path : artifacts.zip
5932
6033 linux-ubi-9-3-cpu-ppc64le-build :
6134
You can’t perform that action at this time.
0 commit comments