Skip to content

Commit

Permalink
Build wheels in multiple platforms with QEMU
Browse files Browse the repository at this point in the history
  • Loading branch information
kpark-hrp committed Apr 11, 2024
1 parent 06f7bac commit fe7c239
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,20 @@ jobs:
with:
submodules: true

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_BUILD_VERBOSITY: 1
MAXMINDDB_REQUIRE_EXTENSION: 1
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit fe7c239

Please sign in to comment.