diff --git a/.github/workflows/manual_triggerd_build_and_upload_to_test_pypi.yml b/.github/workflows/manual_triggerd_build_and_upload_to_test_pypi.yml index a4f5433..d6892e8 100644 --- a/.github/workflows/manual_triggerd_build_and_upload_to_test_pypi.yml +++ b/.github/workflows/manual_triggerd_build_and_upload_to_test_pypi.yml @@ -17,8 +17,17 @@ jobs: with: submodules: recursive + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 + - name: Build wheels - uses: pypa/cibuildwheel@v2.20.0 + uses: pypa/cibuildwheel@v2.21.1 + env: + # configure cibuildwheel to build native archs ('auto'), and aarch64 emulated + CIBW_ARCHS_LINUX: auto aarch64 - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/release_triggerd_build_and_upload_to_pypi.yml b/.github/workflows/release_triggerd_build_and_upload_to_pypi.yml index 1a1f946..e68396b 100644 --- a/.github/workflows/release_triggerd_build_and_upload_to_pypi.yml +++ b/.github/workflows/release_triggerd_build_and_upload_to_pypi.yml @@ -19,8 +19,17 @@ jobs: with: submodules: recursive + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 + - name: Build wheels - uses: pypa/cibuildwheel@v2.20.0 + uses: pypa/cibuildwheel@v2.21.1 + env: + # configure cibuildwheel to build native archs ('auto'), and aarch64 emulated + CIBW_ARCHS_LINUX: auto aarch64 - uses: actions/upload-artifact@v4 with: