Skip to content

Commit

Permalink
Adjust python packaging workflow so one failed job doesn't stop all o…
Browse files Browse the repository at this point in the history
…f them
  • Loading branch information
nightlark committed Feb 3, 2024
1 parent c259043 commit 8df966a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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/[email protected]
# if: runner.os == 'Linux' && matrix.use_qemu
- name: Set up QEMU
uses: docker/[email protected]
if: runner.os == 'Linux' && matrix.use_qemu
- name: Build wheels
uses: pypa/[email protected]
with:
Expand Down

0 comments on commit 8df966a

Please sign in to comment.