Skip to content

Commit fe7c239

Browse files
committed
Build wheels in multiple platforms with QEMU
1 parent 06f7bac commit fe7c239

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,20 @@ jobs:
2323
with:
2424
submodules: true
2525

26+
- name: Set up QEMU
27+
if: runner.os == 'Linux'
28+
uses: docker/setup-qemu-action@v3
29+
with:
30+
platforms: all
31+
2632
- name: Build wheels
2733
uses: pypa/cibuildwheel@v2.17.0
2834
env:
2935
CIBW_BUILD_VERBOSITY: 1
3036
MAXMINDDB_REQUIRE_EXTENSION: 1
37+
# configure cibuildwheel to build native archs ('auto'), and some
38+
# emulated ones
39+
CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x
3140

3241
- uses: actions/upload-artifact@v4
3342
with:

0 commit comments

Comments
 (0)