Skip to content

Commit

Permalink
update maturin CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Dec 11, 2024
1 parent 318a7ef commit 4a8250a
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand All @@ -121,7 +117,7 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-12
- runner: macos-13
target: x86_64
- runner: macos-14
target: aarch64
Expand All @@ -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'
Expand All @@ -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
Expand Down Expand Up @@ -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-*/*

0 comments on commit 4a8250a

Please sign in to comment.