@@ -14,37 +14,61 @@ permissions: {}
1414
1515jobs :
1616 build_wheels :
17- name : Build wheels on ${{ matrix.os }}
18- runs-on : ${{ matrix.os }}
17+ name : Build wheels for ${{ matrix.os }}
18+ runs-on : ${{ matrix.runs-on }}
1919 strategy :
2020 matrix :
21- os : [macos-13, macos-14, ubuntu-24.04-arm, ubuntu-latest, windows-latest]
21+ os :
22+ - ios
23+ - linux-arm
24+ - linux-intel
25+ - macos-arm
26+ - macos-intel
27+ - pyodide
28+ - windows-arm
29+ - windows-intel
30+ include :
31+ - archs : auto
32+ platform : auto
33+ - os : ios
34+ runs-on : macos-latest
35+ platform : ios
36+ - os : linux-arm
37+ runs-on : ubuntu-24.04-arm
38+ - os : linux-intel
39+ runs-on : ubuntu-latest
40+ - os : macos-intel
41+ # macos-13 was the last x86_64 runner
42+ runs-on : macos-13
43+ - os : macos-arm
44+ # macos-14+ (including latest) are ARM64 runners
45+ runs-on : macos-latest
46+ archs : auto,universal2
47+ - os : pyodide
48+ runs-on : ubuntu-latest
49+ platform : pyodide
50+ - os : windows-arm
51+ runs-on : windows-11-arm
52+ - os : windows-intel
53+ runs-on : windows-latest
2254
2355 steps :
2456 - uses : actions/checkout@v4
2557 with :
2658 submodules : true
2759 persist-credentials : false
2860
29- - name : Set up QEMU
30- if : runner.os == 'Linux' && runner.arch == 'X64'
31- uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # 3.6.0
32- with :
33- platforms : all
34-
3561 - name : Build wheels
3662 uses : pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # 3.0.0
3763 env :
38- CIBW_BUILD_VERBOSITY : 1
64+ CIBW_ENABLE : pypy pypy-eol
65+ CIBW_PLATFORM : ${{ matrix.platform }}
66+ CIBW_ARCHS : ${{ matrix.archs }}
3967 MAXMINDDB_REQUIRE_EXTENSION : 1
40- # configure cibuildwheel on Linux to build native archs ('auto'),
41- # and to split the remaining architectures between the x86_64 and
42- # ARM runners
43- CIBW_ARCHS_LINUX : ${{ runner.arch == 'X64' && 'auto ppc64le s390x' || 'auto' }}
4468
4569 - uses : actions/upload-artifact@v4
4670 with :
47- name : maxminddb-whl -${{ matrix.os }}
71+ name : cibw-wheels -${{ matrix.os }}-${{ strategy.job-index }}
4872 path : ./wheelhouse/*.whl
4973
5074 build_sdist :
0 commit comments