From 8df966a6e40fb5df0bb96167e567b28050d04181 Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Fri, 2 Feb 2024 20:20:12 -0800 Subject: [PATCH] Adjust python packaging workflow so one failed job doesn't stop all of them --- .github/workflows/pythonpackage.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 9551ad5..261fc88 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -2,6 +2,11 @@ name: Build Python Packages on: workflow_dispatch: + inputs: + use_qemu: + description: 'Use qemu to build linux aarch64, ppc64le & s390x' + required: false + default: false workflow_run: workflows: ["HELICS Version Update"] branches: [main] @@ -23,6 +28,7 @@ jobs: name: Build ${{ matrix.build }}${{ matrix.arch }} wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: include: - os: ubuntu-20.04 @@ -49,9 +55,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # ensure history is present for automatic versioning - # - name: Set up QEMU - # uses: docker/setup-qemu-action@v3.0.0 - # if: runner.os == 'Linux' && matrix.use_qemu + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.0.0 + if: runner.os == 'Linux' && matrix.use_qemu - name: Build wheels uses: pypa/cibuildwheel@v2.16.5 with: