|
1 |
| -# This file is autogenerated by maturin v1.7.4 |
| 1 | +# This file is autogenerated by maturin v1.8.7 |
2 | 2 | # To update, run
|
3 | 3 | #
|
4 | 4 | # maturin generate-ci github --zig --pytest --platform manylinux macos
|
|
24 | 24 | strategy:
|
25 | 25 | matrix:
|
26 | 26 | platform:
|
27 |
| - - runner: ubuntu-latest |
| 27 | + - runner: ubuntu-22.04 |
28 | 28 | target: x86_64
|
29 |
| - - runner: ubuntu-latest |
| 29 | + - runner: ubuntu-22.04 |
30 | 30 | target: aarch64
|
31 | 31 | steps:
|
32 | 32 | - uses: actions/checkout@v4
|
|
38 | 38 | with:
|
39 | 39 | target: ${{ matrix.platform.target }}
|
40 | 40 | args: --release --out dist --zig
|
41 |
| - sccache: 'false' |
| 41 | + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 42 | + manylinux: auto |
| 43 | + - name: Build free-threaded wheels |
| 44 | + uses: PyO3/maturin-action@v1 |
| 45 | + with: |
| 46 | + target: ${{ matrix.platform.target }} |
| 47 | + args: --release --out dist --zig -i python3.13t |
| 48 | + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
42 | 49 | manylinux: auto
|
43 | 50 | - name: Upload wheels
|
44 | 51 | uses: actions/upload-artifact@v4
|
@@ -76,21 +83,27 @@ jobs:
|
76 | 83 | strategy:
|
77 | 84 | matrix:
|
78 | 85 | platform:
|
79 |
| - - runner: macos-12 |
| 86 | + - runner: macos-13 |
80 | 87 | target: x86_64
|
81 | 88 | - runner: macos-14
|
82 | 89 | target: aarch64
|
83 | 90 | steps:
|
84 | 91 | - uses: actions/checkout@v4
|
85 | 92 | - uses: actions/setup-python@v5
|
86 | 93 | with:
|
87 |
| - python-version: 3.12 |
| 94 | + python-version: 3.x |
88 | 95 | - name: Build wheels
|
89 | 96 | uses: PyO3/maturin-action@v1
|
90 | 97 | with:
|
91 | 98 | target: ${{ matrix.platform.target }}
|
92 | 99 | args: --release --out dist
|
93 |
| - sccache: 'true' |
| 100 | + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
| 101 | + - name: Build free-threaded wheels |
| 102 | + uses: PyO3/maturin-action@v1 |
| 103 | + with: |
| 104 | + target: ${{ matrix.platform.target }} |
| 105 | + args: --release --out dist -i python3.13t |
| 106 | + sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} |
94 | 107 | - name: Upload wheels
|
95 | 108 | uses: actions/upload-artifact@v4
|
96 | 109 | with:
|
@@ -136,12 +149,14 @@ jobs:
|
136 | 149 | steps:
|
137 | 150 | - uses: actions/download-artifact@v4
|
138 | 151 | - name: Generate artifact attestation
|
139 |
| - uses: actions/attest-build-provenance@v1 |
| 152 | + uses: actions/attest-build-provenance@v2 |
140 | 153 | with:
|
141 | 154 | subject-path: 'wheels-*/*'
|
142 | 155 | - name: Publish to PyPI
|
143 |
| - if: "startsWith(github.ref, 'refs/tags/')" |
| 156 | + if: ${{ startsWith(github.ref, 'refs/tags/') }} |
144 | 157 | uses: PyO3/maturin-action@v1
|
| 158 | + #env: |
| 159 | + # MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} |
145 | 160 | with:
|
146 | 161 | command: upload
|
147 | 162 | args: --non-interactive --skip-existing wheels-*/*
|
0 commit comments