diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index cd0cddfa..6bcd7907 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -59,6 +59,36 @@ jobs: with: name: dist path: ./wheelhouse/*.whl + + build_wheels_ppc64le: + name: py${{ matrix.python-version }} on ${{ matrix.os }} (ppc64le) + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + python-version: [38, 39, 310, 311] + + steps: + - uses: actions/checkout@v3 + + - name: Setup up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: ppc64le + + - name: Build wheels + uses: pypa/cibuildwheel@v2.11.3 + env: + CIBW_BUILD: "cp${{ matrix.python-version}}-*" + CIBW_ARCHS: ppc64le + CIBW_BUILD_VERBOSITY: 3 + # https://github.com/rust-lang/cargo/issues/10583 + CIBW_ENVIRONMENT_LINUX: PATH="$PATH:$HOME/.cargo/bin" CARGO_NET_GIT_FETCH_WITH_CLI=true + - uses: actions/upload-artifact@v3 + with: + name: dist + path: ./wheelhouse/*.whl build_sdist: name: sdist diff --git a/pyproject.toml b/pyproject.toml index 1834ef13..6dfa9947 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ macos.before-all = "rustup target add aarch64-apple-darwin" skip = [ "*-manylinux_i686", "*-musllinux_i686", + "*-musllinux_ppc64le", "*-win32", ] macos.archs = ["x86_64", "arm64"]