Skip to content

Commit

Permalink
Update CI.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin authored Nov 26, 2024
1 parent b8b5449 commit addacfc
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is autogenerated by maturin v1.7.4
# This file is autogenerated by maturin v1.7.4
# To update, run
#
# maturin generate-ci github
Expand All @@ -18,34 +18,40 @@ on:
permissions:
contents: read

env:
RUST_TOOLCHAIN: 'nightly'
CARGO_UNSTABLE_SPARSE_REGISTRY: 'true'
UNSAFE_PYO3_BUILD_FREE_THREADED: '1'
UNSAFE_PYO3_SKIP_VERSION_CHECK: '1'

jobs:
linux:
runs-on: ${{ matrix.platform.runner }}
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
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.13
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand All @@ -59,24 +65,24 @@ 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
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.13
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
sccache: 'true'
manylinux: musllinux_1_2
- name: Upload wheels
Expand All @@ -98,13 +104,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.13
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -125,12 +131,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.13
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -139,7 +145,7 @@ jobs:
path: dist

sdist:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build sdist
Expand Down

0 comments on commit addacfc

Please sign in to comment.