diff --git a/.github/workflows/build-python.yml b/.github/workflows/build-python.yml index 90ef2ba..4f0aaef 100644 --- a/.github/workflows/build-python.yml +++ b/.github/workflows/build-python.yml @@ -15,12 +15,18 @@ jobs: - uses: actions/checkout@v2 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.11.2 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_BEFORE_BUILD_LINUX: "python3 -m pip install cmake" CIBW_ARCHS_MACOS: "x86_64 arm64" - CIBW_BUILD: "cp310-macosx_x86_64 cp310-macosx_arm64 cp310-win_amd64 cp310-manylinux_x86_64 cp310-manylinux_aarch64 cp311-macosx_x86_64 cp311-macosx_arm64 cp311-win_amd64 cp311-manylinux_x86_64 cp311-manylinux_aarch64" + CIBW_ARCHS_LINUX: "auto aarch64" + CIBW_BUILD: "cp310-macosx_x86_64 cp310-macosx_arm64 cp310-win_amd64 cp310-manylinux_x86_64 cp310-manylinux_aarch64 cp310-musllinux_aarch64 cp311-macosx_x86_64 cp311-macosx_arm64 cp311-win_amd64 cp311-manylinux_x86_64 cp311-manylinux_aarch64 cp311-musllinux_aarch64" - name: Deploy uses: softprops/action-gh-release@v1 with: