Skip to content

Commit b6d3fcf

Browse files
authored
Merge pull request #190 from maxmind/greg/eng-1444-use-arm-runner
Use GitHub arm runner
2 parents 0148a5c + d1bce5d commit b6d3fcf

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
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:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
platform: [macos-latest, ubuntu-latest, windows-latest]
16+
platform: [macos-latest, ubuntu-24.04-arm, ubuntu-latest, windows-latest]
1717
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
1818

1919
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}

0 commit comments

Comments
 (0)