1
- # This file is autogenerated by maturin v1.7 .0
1
+ # This file is autogenerated by maturin v1.8 .0
2
2
# To update, run
3
3
#
4
4
# maturin generate-ci github -o .github/workflows/CI.yml --pytest
@@ -24,17 +24,17 @@ jobs:
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 : x86
31
- - runner : ubuntu-latest
31
+ - runner : ubuntu-22.04
32
32
target : aarch64
33
- - runner : ubuntu-latest
33
+ - runner : ubuntu-22.04
34
34
target : armv7
35
- - runner : ubuntu-latest
35
+ - runner : ubuntu-22.04
36
36
target : s390x
37
- - runner : ubuntu-latest
37
+ - runner : ubuntu-22.04
38
38
target : ppc64le
39
39
steps :
40
40
- uses : actions/checkout@v4
48
48
args : --release --out dist
49
49
sccache : ' true'
50
50
manylinux : auto
51
+ - name : Build free-threaded wheels
52
+ uses : PyO3/maturin-action@v1
53
+ with :
54
+ target : ${{ matrix.platform.target }}
55
+ args : --release --out dist -i python3.13t
56
+ sccache : ' true'
57
+ manylinux : auto
51
58
- name : Upload wheels
52
59
uses : actions/upload-artifact@v4
53
60
with :
@@ -84,13 +91,13 @@ jobs:
84
91
strategy :
85
92
matrix :
86
93
platform :
87
- - runner : ubuntu-latest
94
+ - runner : ubuntu-22.04
88
95
target : x86_64
89
- - runner : ubuntu-latest
96
+ - runner : ubuntu-22.04
90
97
target : x86
91
- - runner : ubuntu-latest
98
+ - runner : ubuntu-22.04
92
99
target : aarch64
93
- - runner : ubuntu-latest
100
+ - runner : ubuntu-22.04
94
101
target : armv7
95
102
steps :
96
103
- uses : actions/checkout@v4
@@ -104,6 +111,13 @@ jobs:
104
111
args : --release --out dist
105
112
sccache : ' true'
106
113
manylinux : musllinux_1_2
114
+ - name : Build free-threaded wheels
115
+ uses : PyO3/maturin-action@v1
116
+ with :
117
+ target : ${{ matrix.platform.target }}
118
+ args : --release --out dist -i python3.13t
119
+ sccache : ' true'
120
+ manylinux : musllinux_1_2
107
121
- name : Upload wheels
108
122
uses : actions/upload-artifact@v4
109
123
with :
@@ -161,6 +175,12 @@ jobs:
161
175
target : ${{ matrix.platform.target }}
162
176
args : --release --out dist
163
177
sccache : ' true'
178
+ - name : Build free-threaded wheels
179
+ uses : PyO3/maturin-action@v1
180
+ with :
181
+ target : ${{ matrix.platform.target }}
182
+ args : --release --out dist -i python3.13t
183
+ sccache : ' true'
164
184
- name : Upload wheels
165
185
uses : actions/upload-artifact@v4
166
186
with :
@@ -182,7 +202,7 @@ jobs:
182
202
strategy :
183
203
matrix :
184
204
platform :
185
- - runner : macos-12
205
+ - runner : macos-13
186
206
target : x86_64
187
207
- runner : macos-14
188
208
target : aarch64
@@ -197,6 +217,12 @@ jobs:
197
217
target : ${{ matrix.platform.target }}
198
218
args : --release --out dist
199
219
sccache : ' true'
220
+ - name : Build free-threaded wheels
221
+ uses : PyO3/maturin-action@v1
222
+ with :
223
+ target : ${{ matrix.platform.target }}
224
+ args : --release --out dist -i python3.13t
225
+ sccache : ' true'
200
226
- name : Upload wheels
201
227
uses : actions/upload-artifact@v4
202
228
with :
@@ -229,11 +255,23 @@ jobs:
229
255
release :
230
256
name : Release
231
257
runs-on : ubuntu-latest
232
- if : " startsWith(github.ref, 'refs/tags/')"
258
+ if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
233
259
needs : [linux, musllinux, windows, macos, sdist]
260
+ permissions :
261
+ # Use to sign the release artifacts
262
+ id-token : write
263
+ # Used to upload release artifacts
264
+ contents : write
265
+ # Used to generate artifact attestation
266
+ attestations : write
234
267
steps :
235
268
- uses : actions/download-artifact@v4
269
+ - name : Generate artifact attestation
270
+ uses : actions/attest-build-provenance@v1
271
+ with :
272
+ subject-path : ' wheels-*/*'
236
273
- name : Publish to PyPI
274
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
237
275
uses : PyO3/maturin-action@v1
238
276
env :
239
277
MATURIN_PYPI_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments