diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b8473d..fb591cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,6 +42,11 @@ jobs: pip install cibuildwheel shell: bash + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: all + - name: Build package env: CIBW_SKIP: "pp* *-musllinux*" # Skip PyPy and musllinux builds @@ -53,6 +58,7 @@ jobs: CIBW_BEFORE_ALL_MACOS: | brew install protobuf CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x + CIBW_QEMU: "true" CIBW_BEFORE_BUILD: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source $HOME/.cargo/env