diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4977b3d..bef285d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -58,20 +58,22 @@ jobs: strategy: matrix: platform: - - { target: x86_64, interpreter: *interpreters } - - { target: x86, interpreter: *interpreters } - - { target: aarch64, interpreter: *interpreters } - - { target: armv7, interpreter: *interpreters } - - { target: s390x, interpreter: *interpreters } - - { target: ppc64le, interpreter: *interpreters } + - { target: x86_64-unknown-linux-gnu, arch: x86_64, interpreter: *interpreters } + - { target: i686-unknown-linux-gnu, arch: x86, interpreter: *interpreters } + - { target: aarch64-unknown-linux-gnu, arch: aarch64, interpreter: *interpreters } + - { target: armv7-unknown-linux-gnueabihf, arch: armv7, interpreter: *interpreters } + - { target: s390x-unknown-linux-gnu, arch: s390x, interpreter: *interpreters } + - { target: powerpc64le-unknown-linux-gnu, arch: ppc64le, interpreter: *interpreters } + - { target: riscv64gc-unknown-linux-gnu, arch: riscv64, interpreter: *interpreters } steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 + - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 with: + activate-environment: true python-version: "3.x" - uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0 @@ -88,7 +90,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: wheels-linux-${{ matrix.platform.target }} + name: wheels-linux-${{ matrix.platform.arch }} path: dist build-musllinux: @@ -96,18 +98,20 @@ jobs: strategy: matrix: platform: - - { target: x86_64, interpreter: *interpreters } - - { target: x86, interpreter: *interpreters } - - { target: aarch64, interpreter: *interpreters } - - { target: armv7, interpreter: *interpreters } + - { target: x86_64-unknown-linux-musl, arch: x86_64, interpreter: *interpreters } + - { target: i686-unknown-linux-musl, arch: x86, interpreter: *interpreters } + - { target: aarch64-unknown-linux-musl, arch: aarch64, interpreter: *interpreters } + - { target: armv7-unknown-linux-musleabihf, arch: armv7, interpreter: *interpreters } + - { target: riscv64gc-unknown-linux-musl, arch: riscv64, interpreter: *interpreters } steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 + - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 with: + activate-environment: true python-version: "3.x" - uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0 @@ -124,7 +128,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: wheels-musllinux-${{ matrix.platform.target }} + name: wheels-musllinux-${{ matrix.platform.arch }} path: dist build-windows: