Yet another matrix syntax

This commit is contained in:
David Robertson 2022-10-03 15:28:10 +01:00
parent 4fe4d3d548
commit 68aad3d690
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD

View file

@ -94,6 +94,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15]
emulate_aarch64: [false]
# is_pr is a flag used to exclude certain jobs from the matrix on PRs.
# It is not read by the rest of the workflow.
is_pr:
@ -101,11 +103,8 @@ jobs:
include:
- os: ubuntu-20.04
emulate_aarch64: false
- os: ubuntu-20.04
is_pr: ${{ startsWith(github.ref, 'refs/pull/') }}
emulate_aarch64: true
- os: macos-10.15
emulate_aarch64: false
exclude:
# Don't build macos wheels on PR CI.