Skip to content

Commit ab68341

Browse files
committed
chore: include ARM in CI
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent f130b4a commit ab68341

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

docs/pages/guides/gha_wheels.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,15 @@ build_wheels:
109109
strategy:
110110
fail-fast: false
111111
matrix:
112-
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
112+
os:
113+
[
114+
ubuntu-latest,
115+
ubuntu-24.04-arm,
116+
windows-latest,
117+
windows-11-arm,
118+
macos-13,
119+
macos-latest,
120+
]
113121
114122
steps:
115123
- uses: actions/checkout@v4
@@ -135,13 +143,13 @@ because you followed the suggestions in the previous sections, and your package
135143
builds nicely into a wheel without strange customizations (if you _really_ need
136144
them, check out [`CIBW_BEFORE_BUILD`][] and [`CIBW_ENVIRONMENT`][]).
137145

138-
This lists all three OS's; if you do not support Windows, you can remove that
139-
here. If you would rather make universal2 wheels for macOS, you can remove
140-
either the Intel (`macos-13`) or Apple Silicon (`macos-14`) job and set
141-
`CIBW_ARCHS_MACOS` to `"universal2"`. You can also set `CIBW_TEST_SKIP` to
142-
`"*universal2:arm64"` if building from Intel to acknowledge you understand that
143-
you can't test Apple Silicon from Intel. You can do this from the
144-
`pyproject.toml` file instead if you want.
146+
This lists all three OS's including ARM variants; if you do not support Windows,
147+
you can remove that here. If you would rather make universal2 wheels for macOS,
148+
you can remove either the Intel (`macos-13`) or Apple Silicon (`macos-lateset`)
149+
job and set `CIBW_ARCHS_MACOS` to `"universal"`. You can also set
150+
`CIBW_TEST_SKIP` to `"*universal:arm64"` if building from Intel to acknowledge
151+
you understand that you can't test Apple Silicon from Intel. You can do this
152+
from the `pyproject.toml` file instead if you want.
145153

146154
The build step is controlled almost exclusively through environment variables,
147155
which makes it easier (usually) to setup in CI. The main variable needed here is

{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %}

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
44+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm, macos-13, macos-latest]
4545

4646
steps:
4747
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)