@@ -14,37 +14,61 @@ permissions: {}
14
14
15
15
jobs :
16
16
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 }}
19
19
strategy :
20
20
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
22
54
23
55
steps :
24
56
- uses : actions/checkout@v4
25
57
with :
26
58
submodules : true
27
59
persist-credentials : false
28
60
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
-
35
61
- name : Build wheels
36
- uses : pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # 2.23.3
62
+ uses : pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # 3.0.0
37
63
env :
38
- CIBW_BUILD_VERBOSITY : 1
64
+ CIBW_ENABLE : pypy pypy-eol
65
+ CIBW_PLATFORM : ${{ matrix.platform }}
66
+ CIBW_ARCHS : ${{ matrix.archs }}
39
67
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' }}
44
68
45
69
- uses : actions/upload-artifact@v4
46
70
with :
47
- name : maxminddb-whl -${{ matrix.os }}
71
+ name : cibw-wheels -${{ matrix.os }}-${{ strategy.job-index }}
48
72
path : ./wheelhouse/*.whl
49
73
50
74
build_sdist :
0 commit comments