Skip to content

Commit ca8c31f

Browse files
committed
Use GitHub arm runner
1 parent 0148a5c commit ca8c31f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [macos-13, macos-14, ubuntu-latest, windows-latest]
21+
os: [macos-13, macos-14, ubuntu-24.04-arm, ubuntu-latest, windows-latest]
2222

2323
steps:
2424
- uses: actions/checkout@v4
@@ -27,7 +27,7 @@ jobs:
2727
persist-credentials: false
2828

2929
- name: Set up QEMU
30-
if: runner.os == 'Linux'
30+
if: runner.os == 'Linux' && runner.arch == 'X64'
3131
uses: docker/setup-qemu-action@v3
3232
with:
3333
platforms: all
@@ -37,9 +37,10 @@ jobs:
3737
env:
3838
CIBW_BUILD_VERBOSITY: 1
3939
MAXMINDDB_REQUIRE_EXTENSION: 1
40-
# configure cibuildwheel to build native archs ('auto'), and some
41-
# emulated ones
42-
CIBW_ARCHS_LINUX: auto aarch64
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' }}
4344

4445
- uses: actions/upload-artifact@v4
4546
with:

0 commit comments

Comments
 (0)