Skip to content

ppc64le

ppc64le #368

Workflow file for this run

name: ppc64le
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
ppc64le-UBI-9-3-Build-and-Test:
name: ppc64le-UBI-9-3-Build-and-Test
runs-on: linux.ppc64le
steps:
- name: Checkout PyTorch
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
with:
no-sudo: true
- name: Execute Build and Tests inside ppc64le Docker Container
run: |
docker run --rm -v ${GITHUB_WORKSPACE}:/workspace/pytorch docker.io/pytorch/ubippc64le-builder:cpu-ppc64le-main /workspace/pytorch/.github/scripts/ppc64le-build.sh
- name: Archive ppc64le artifacts into zip
run: |
zip -1 -r artifacts.zip dist/
- name: Store PyTorch Build Artifacts for ppc64le
uses: actions/upload-artifact@v4
with:
name: linux-ppc64le-binary-ubi9
retention-days: 14
if-no-files-found: error
path: artifacts.zip
- name: Cleanup docker
if: always()
shell: bash
run: |
# on s390x stop the container for clean worker stop
docker stop -a || true
docker kill -a || true