Skip to content

Commit 3f60cd3

Browse files
using dockerfile
1 parent d7c5860 commit 3f60cd3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/_linux-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,19 @@ jobs:
182182
- name: Download pytest cache
183183
uses: ./.github/actions/pytest-cache-download
184184
continue-on-error: true
185-
if: inputs.build-environment != 'linux-s390x-binary-manywheel'
185+
if: inputs.build-environment != 'linux-s390x-binary-manywheel' && inputs.build-environment != 'linux-ppc64le-binary-manywheel'
186186
with:
187187
cache_dir: .pytest_cache
188188
job_identifier: ${{ github.workflow }}_${{ inputs.build-environment }}
189189
s3_bucket: ${{ inputs.s3-bucket }}
190190

191+
- name: Run Docker container and execute build script
192+
if: inputs.build-environment == 'linux-ppc64le-binary-manywheel'
193+
run: |
194+
docker run --rm -v $(pwd)/dist:/workspace/pytorch/dist pytorch-ppc64le:ubi9.3 /ppc64le-build.sh
195+
191196
- name: Build
192-
if: steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == ''
197+
if: steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == '' || inputs.build-environment != 'linux-ppc64le-binary-manywheel'
193198
id: build
194199
env:
195200
BUILD_ENVIRONMENT: ${{ inputs.build-environment }}

0 commit comments

Comments
 (0)