From fe7c2394bcaa9b0effba2e33535298a7ec27b3ac Mon Sep 17 00:00:00 2001 From: Kevin Park Date: Thu, 11 Apr 2024 18:16:36 -0400 Subject: [PATCH 1/2] Build wheels in multiple platforms with QEMU --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcdd22b..013961e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: From ae53e6b88aa1c65930cc92f5e1f40a88045ce248 Mon Sep 17 00:00:00 2001 From: Kevin Park Date: Thu, 11 Apr 2024 18:50:59 -0400 Subject: [PATCH 2/2] trim down to \'auto aarch64\' --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 013961e..afab518 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: MAXMINDDB_REQUIRE_EXTENSION: 1 # configure cibuildwheel to build native archs ('auto'), and some # emulated ones - CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x + CIBW_ARCHS_LINUX: auto aarch64 - uses: actions/upload-artifact@v4 with: