| 
1 |  | -# This file is autogenerated by maturin v1.8.2  | 
2 |  | -# To update, run  | 
3 |  | -#  | 
4 |  | -#    maturin generate-ci --pytest --platform all --zig github  | 
5 |  | -#  | 
6 | 1 | name: CI  | 
7 | 2 | 
 
  | 
8 | 3 | on:  | 
@@ -31,16 +26,32 @@ jobs:  | 
31 | 26 |             target: aarch64  | 
32 | 27 |     steps:  | 
33 | 28 |       - uses: actions/checkout@v4  | 
34 |  | -      - uses: actions/setup-python@v5  | 
35 |  | -        with:  | 
36 |  | -          python-version: "3.12"  | 
37 | 29 |       - name: Install uv  | 
38 | 30 |         uses: astral-sh/setup-uv@v5  | 
 | 31 | +      - uses: actions/setup-python@v5  | 
 | 32 | +        with:  | 
 | 33 | +          python-version: |  | 
 | 34 | +            3.10  | 
 | 35 | +            3.11  | 
 | 36 | +            3.12  | 
 | 37 | +            3.13  | 
 | 38 | +      # Leave out 3.13 on aarch due to an issue in pyo3/rust-numpy 0.23.4  | 
 | 39 | +      - name: Build wheels  | 
 | 40 | +        uses: PyO3/maturin-action@v1  | 
 | 41 | +        if: ${{ matrix.platform.target == 'aarch64' }}  | 
 | 42 | +        with:  | 
 | 43 | +          target: ${{ matrix.platform.target }}  | 
 | 44 | +          args: --release --out dist --interpreter 3.10 3.11 3.12 --zig  | 
 | 45 | +          sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}  | 
 | 46 | +          manylinux: auto  | 
 | 47 | +          before-script-linux: |  | 
 | 48 | +            dnf install -y clang-libs clang || sudo apt install llvm-dev libclang-dev clang  | 
39 | 49 |       - name: Build wheels  | 
40 | 50 |         uses: PyO3/maturin-action@v1  | 
 | 51 | +        if: ${{ matrix.platform.target == 'x86_64' }}  | 
41 | 52 |         with:  | 
42 | 53 |           target: ${{ matrix.platform.target }}  | 
43 |  | -          args: --release --out dist --find-interpreter --zig  | 
 | 54 | +          args: --release --out dist --interpreter 3.10 3.11 3.12 3.13 --zig  | 
44 | 55 |           sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}  | 
45 | 56 |           manylinux: auto  | 
46 | 57 |           before-script-linux: |  | 
@@ -160,7 +171,11 @@ jobs:  | 
160 | 171 |       - uses: actions/checkout@v4  | 
161 | 172 |       - uses: actions/setup-python@v5  | 
162 | 173 |         with:  | 
163 |  | -          python-version: "3.12"  | 
 | 174 | +          python-version: |  | 
 | 175 | +            3.10  | 
 | 176 | +            3.11  | 
 | 177 | +            3.12  | 
 | 178 | +          # 3.13 leave out 3.13 due to a segfault  | 
164 | 179 |           architecture: ${{ matrix.platform.target }}  | 
165 | 180 |       - name: Install uv  | 
166 | 181 |         uses: astral-sh/setup-uv@v5  | 
@@ -211,7 +226,11 @@ jobs:  | 
211 | 226 |       - uses: actions/checkout@v4  | 
212 | 227 |       - uses: actions/setup-python@v5  | 
213 | 228 |         with:  | 
214 |  | -          python-version: "3.12"  | 
 | 229 | +          python-version: |  | 
 | 230 | +            3.10  | 
 | 231 | +            3.11  | 
 | 232 | +            3.12  | 
 | 233 | +            3.13  | 
215 | 234 |       - name: Install uv  | 
216 | 235 |         uses: astral-sh/setup-uv@v5  | 
217 | 236 |       - uses: maxim-lobanov/setup-xcode@v1  | 
 | 
0 commit comments