diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1e01072..e10857b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,17 +25,33 @@ jobs: matrix: platform: - runner: ubuntu-22.04 - target: x86_64 + target: x86_64-unknown-linux-gnu + arch: x86_64 + manylinux: auto - runner: ubuntu-22.04 - target: x86 + target: i686-unknown-linux-gnu + arch: x86 + manylinux: auto - runner: ubuntu-22.04 - target: aarch64 + target: aarch64-unknown-linux-gnu + arch: aarch64 + manylinux: auto - runner: ubuntu-22.04 - target: armv7 + target: armv7-unknown-linux-gnueabihf + arch: armv7 + manylinux: auto - runner: ubuntu-22.04 - target: s390x + target: s390x-unknown-linux-gnu + arch: s390x + manylinux: auto - runner: ubuntu-22.04 - target: ppc64le + target: powerpc64le-unknown-linux-gnu + arch: ppc64le + manylinux: auto + - runner: ubuntu-24.04-riscv + target: riscv64gc-unknown-linux-gnu + arch: riscv64 + manylinux: 2_39 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 @@ -47,11 +63,11 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - manylinux: auto + manylinux: ${{ matrix.platform.manylinux }} - name: Upload wheels uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: wheels-linux-${{ matrix.platform.target }} + name: wheels-linux-${{ matrix.platform.arch }} path: dist musllinux: @@ -60,13 +76,17 @@ jobs: matrix: platform: - runner: ubuntu-22.04 - target: x86_64 + target: x86_64-unknown-linux-musl + arch: x86_64 - runner: ubuntu-22.04 - target: x86 + target: i686-unknown-linux-musl + arch: x86 - runner: ubuntu-22.04 - target: aarch64 + target: aarch64-unknown-linux-musl + arch: aarch64 - runner: ubuntu-22.04 - target: armv7 + target: armv7-unknown-linux-musleabihf + arch: armv7 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 @@ -82,7 +102,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: wheels-musllinux-${{ matrix.platform.target }} + name: wheels-musllinux-${{ matrix.platform.arch }} path: dist windows: