From 4a8250a33dddada21793636f3e9191dbb2c257c0 Mon Sep 17 00:00:00 2001 From: LegrandNico Date: Wed, 11 Dec 2024 14:28:45 +0100 Subject: [PATCH] update maturin CI --- .github/workflows/ci.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ec175b40..cb31c169d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,8 @@ -# This file is autogenerated by maturin v1.7.4 +# This file is autogenerated by maturin v1.7.8 # To update, run # # maturin generate-ci github # - name: CI on: @@ -25,17 +24,17 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: armv7 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: s390x - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: ppc64le steps: - uses: actions/checkout@v4 @@ -45,7 +44,6 @@ jobs: - name: Build wheels uses: PyO3/maturin-action@v1 with: - maturin-version: "1.7.4" target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: 'true' @@ -61,13 +59,13 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: armv7 steps: - uses: actions/checkout@v4 @@ -77,7 +75,6 @@ jobs: - name: Build wheels uses: PyO3/maturin-action@v1 with: - maturin-version: "1.7.4" target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: 'true' @@ -106,7 +103,6 @@ jobs: - name: Build wheels uses: PyO3/maturin-action@v1 with: - maturin-version: "1.7.4" target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: 'true' @@ -121,7 +117,7 @@ jobs: strategy: matrix: platform: - - runner: macos-12 + - runner: macos-13 target: x86_64 - runner: macos-14 target: aarch64 @@ -133,7 +129,6 @@ jobs: - name: Build wheels uses: PyO3/maturin-action@v1 with: - maturin-version: "1.7.4" target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: 'true' @@ -150,7 +145,6 @@ jobs: - name: Build sdist uses: PyO3/maturin-action@v1 with: - maturin-version: "1.7.4" command: sdist args: --out dist - name: Upload sdist @@ -178,11 +172,10 @@ jobs: with: subject-path: 'wheels-*/*' - name: Publish to PyPI - if: "startsWith(github.ref, 'refs/tags/')" + if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: PyO3/maturin-action@v1 env: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: - maturin-version: "1.7.4" command: upload args: --non-interactive --skip-existing wheels-*/* \ No newline at end of file