|
@@ -95,22 +95,20 @@ jobs:
|
|
|
strategy:
|
|
|
matrix:
|
|
|
os: [ubuntu-20.04, macos-10.15]
|
|
|
- emulate_aarch64: [false]
|
|
|
+ emulate_aarch64: [false, true]
|
|
|
# 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:
|
|
|
- ${{ startsWith(github.ref, 'refs/pull/') }}
|
|
|
|
|
|
- include:
|
|
|
- - os: ubuntu-20.04
|
|
|
- is_pr: ${{ startsWith(github.ref, 'refs/pull/') }}
|
|
|
- emulate_aarch64: true
|
|
|
-
|
|
|
exclude:
|
|
|
# Don't build macos wheels on PR CI.
|
|
|
- is_pr: true
|
|
|
os: "macos-10.15"
|
|
|
- # Don't build ARM linux wheels on PR CI either.
|
|
|
+ # Don't build aarch64 wheels on mac.
|
|
|
+ - os: "macos-10.15"
|
|
|
+ emulate_aarch64: true
|
|
|
+ # Don't build aarch64 wheels on PR CI.
|
|
|
- is_pr: true
|
|
|
emulate_aarch64: true
|
|
|
|