-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust python packaging workflow so one failed job doesn't stop all o…
…f them
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[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: | ||
|