Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [aarch64, armv7, s390x, ppc64le, ppc64]
platform:
- target: aarch64-unknown-linux-gnu
arch: aarch64
- target: armv7-unknown-linux-gnueabihf
arch: armv7
- target: s390x-unknown-linux-gnu
arch: s390x
- target: powerpc64le-unknown-linux-gnu
arch: ppc64le
- target: powerpc64-unknown-linux-gnu
arch: ppc64
- target: riscv64gc-unknown-linux-gnu
arch: riscv64
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
Expand All @@ -160,23 +172,23 @@ jobs:
uses: pyo3/maturin-action@v1
with:
rust-toolchain: nightly
target: ${{ matrix.target }}
target: ${{ matrix.platform.target }}
manylinux: auto
args: --release --out dist
sccache: true
- name: Build free-threaded wheels
uses: pyo3/maturin-action@v1
with:
rust-toolchain: nightly
target: ${{ matrix.target }}
target: ${{ matrix.platform.target }}
manylinux: auto
args: --release --out dist -i python3.13
sccache: true
- uses: uraimo/run-on-arch-action@v3.0.1
if: matrix.target != 'ppc64'
if: matrix.platform.arch != 'ppc64'
name: Install built wheel
with:
arch: ${{ matrix.target }}
arch: ${{ matrix.platform.arch }}
distro: ubuntu22.04
githubToken: ${{ github.token }}
install: |
Expand All @@ -189,7 +201,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v6
with:
name: wheels-linux-${{ matrix.target }}
name: wheels-linux-${{ matrix.platform.arch }}
path: dist

musllinux:
Expand Down Expand Up @@ -283,7 +295,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v6
with:
name: wheels-${{ matrix.platform.target }}
name: wheels-${{ matrix.platform.arch }}
path: dist

sdist:
Expand Down