Skip to content

Commit

Permalink
ci: make sure all python versions are available in the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
aseyboldt committed Feb 18, 2025
1 parent 88dbf35 commit a15e7d2
Showing 1 changed file with 30 additions and 11 deletions.
41 changes: 30 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# This file is autogenerated by maturin v1.8.2
# To update, run
#
# maturin generate-ci --pytest --platform all --zig github
#
name: CI

on:
Expand Down Expand Up @@ -31,16 +26,32 @@ jobs:
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v5
- uses: actions/setup-python@v5
with:
python-version: |
3.10
3.11
3.12
3.13
# Leave out 3.13 on aarch due to an issue in pyo3/rust-numpy 0.23.4
- name: Build wheels
uses: PyO3/maturin-action@v1
if: ${{ matrix.platform.target == 'aarch64' }}
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter 3.10 3.11 3.12 --zig
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
before-script-linux: |
dnf install -y clang-libs clang || sudo apt install llvm-dev libclang-dev clang
- name: Build wheels
uses: PyO3/maturin-action@v1
if: ${{ matrix.platform.target == 'x86_64' }}
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --zig
args: --release --out dist --interpreter 3.10 3.11 3.12 3.13 --zig
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
before-script-linux: |
Expand Down Expand Up @@ -160,7 +171,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: |
3.10
3.11
3.12
# 3.13 leave out 3.13 due to a segfault
architecture: ${{ matrix.platform.target }}
- name: Install uv
uses: astral-sh/setup-uv@v5
Expand Down Expand Up @@ -211,7 +226,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: |
3.10
3.11
3.12
3.13
- name: Install uv
uses: astral-sh/setup-uv@v5
- uses: maxim-lobanov/setup-xcode@v1
Expand Down

0 comments on commit a15e7d2

Please sign in to comment.