Skip to content

Commit df4a624

Browse files
committed
Add musllinux and Windows ARM64 platform support
- Add musllinux_x86_64 and musllinux_aarch64 for Python 3.8-3.14 (Alpine Linux) - Add win_arm64 for Python 3.11-3.14 (Windows on ARM) - Configure CIBW_MUSLLINUX_*_IMAGE environment variables - Total wheels: 35 → 67 (32 new platforms) - Windows ARM64: +4 wheels - musllinux x86_64: +14 wheels - musllinux aarch64: +14 wheels
1 parent 56e9a94 commit df4a624

1 file changed

Lines changed: 95 additions & 0 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,99 @@ jobs:
166166
macosx_deployment_target: 10.14
167167
arch: x86_64
168168

169+
# Windows ARM64
170+
# Note: Python 3.11+ only, as earlier versions lack official ARM64 builds
171+
- os: windows-latest
172+
python: 311
173+
platform_id: win_arm64
174+
arch: ARM64
175+
- os: windows-latest
176+
python: 312
177+
platform_id: win_arm64
178+
arch: ARM64
179+
- os: windows-latest
180+
python: 313
181+
platform_id: win_arm64
182+
arch: ARM64
183+
- os: windows-latest
184+
python: 314
185+
platform_id: win_arm64
186+
arch: ARM64
187+
188+
# Linux musllinux x86_64 (Alpine Linux)
189+
- os: ubuntu-latest
190+
python: 38
191+
platform_id: musllinux_x86_64
192+
musllinux_image: musllinux_1_1
193+
arch: x86_64
194+
- os: ubuntu-latest
195+
python: 39
196+
platform_id: musllinux_x86_64
197+
musllinux_image: musllinux_1_1
198+
arch: x86_64
199+
- os: ubuntu-latest
200+
python: 310
201+
platform_id: musllinux_x86_64
202+
musllinux_image: musllinux_1_1
203+
arch: x86_64
204+
- os: ubuntu-latest
205+
python: 311
206+
platform_id: musllinux_x86_64
207+
musllinux_image: musllinux_1_1
208+
arch: x86_64
209+
- os: ubuntu-latest
210+
python: 312
211+
platform_id: musllinux_x86_64
212+
musllinux_image: musllinux_1_1
213+
arch: x86_64
214+
- os: ubuntu-latest
215+
python: 313
216+
platform_id: musllinux_x86_64
217+
musllinux_image: musllinux_1_2
218+
arch: x86_64
219+
- os: ubuntu-latest
220+
python: 314
221+
platform_id: musllinux_x86_64
222+
musllinux_image: musllinux_1_2
223+
arch: x86_64
224+
225+
# Linux musllinux aarch64 (Alpine Linux ARM64)
226+
- os: ubuntu-latest
227+
python: 38
228+
platform_id: musllinux_aarch64
229+
musllinux_image: musllinux_1_1
230+
arch: aarch64
231+
- os: ubuntu-latest
232+
python: 39
233+
platform_id: musllinux_aarch64
234+
musllinux_image: musllinux_1_1
235+
arch: aarch64
236+
- os: ubuntu-latest
237+
python: 310
238+
platform_id: musllinux_aarch64
239+
musllinux_image: musllinux_1_1
240+
arch: aarch64
241+
- os: ubuntu-latest
242+
python: 311
243+
platform_id: musllinux_aarch64
244+
musllinux_image: musllinux_1_1
245+
arch: aarch64
246+
- os: ubuntu-latest
247+
python: 312
248+
platform_id: musllinux_aarch64
249+
musllinux_image: musllinux_1_1
250+
arch: aarch64
251+
- os: ubuntu-latest
252+
python: 313
253+
platform_id: musllinux_aarch64
254+
musllinux_image: musllinux_1_2
255+
arch: aarch64
256+
- os: ubuntu-latest
257+
python: 314
258+
platform_id: musllinux_aarch64
259+
musllinux_image: musllinux_1_2
260+
arch: aarch64
261+
169262
# MacOS arm64
170263
- os: macos-14
171264
python: 38
@@ -222,6 +315,8 @@ jobs:
222315
env:
223316
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}
224317
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.manylinux_image }}
318+
CIBW_MUSLLINUX_X86_64_IMAGE: ${{ matrix.musllinux_image }}
319+
CIBW_MUSLLINUX_AARCH64_IMAGE: ${{ matrix.musllinux_image }}
225320
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
226321
CIBW_BEFORE_BUILD: pip install pybind11
227322
CIBW_TEST_COMMAND: python {project}/tests/_ci_debug_import.py && pytest {project}/tests -vv

0 commit comments

Comments
 (0)