@@ -162,20 +162,28 @@ jobs:
162
162
163
163
windows :
164
164
name : " Windows: ${{ matrix.platform.target }}"
165
- runs-on : windows-latest
165
+ runs-on : " ${{ matrix.platform.os }} "
166
166
strategy :
167
167
matrix :
168
168
platform :
169
169
- target : x64
170
- interpreter : 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
170
+ os : windows-latest
171
+ py_arch : " x64"
172
+ interpreter : " 3.13"
171
173
- target : x86
172
- interpreter : 3.9 3.10 3.11 3.12
174
+ py_arch : " x86"
175
+ os : windows-latest
176
+ interpreter : " 3.13"
177
+ - target : aarch64
178
+ py_arch : " arm64"
179
+ os : windows-11-arm
180
+ interpreter : " 3.13"
173
181
steps :
174
182
- uses : actions/checkout@v4
175
183
- uses : actions/setup-python@v5
176
184
with :
177
- python-version : " 3.12 "
178
- architecture : ${{ matrix.platform.target }}
185
+ python-version : " ${{ matrix.platform.interpreter }} "
186
+ architecture : ${{ matrix.platform.py_arch }}
179
187
- uses : dtolnay/rust-toolchain@stable
180
188
- name : Build wheels
181
189
uses : PyO3/maturin-action@v1
@@ -197,23 +205,28 @@ jobs:
197
205
macos :
198
206
name : " MacOS"
199
207
runs-on : macos-latest
208
+ strategy :
209
+ matrix :
210
+ py :
211
+ - { i: "3.9 3.10 3.11 3.12 3.13", py: "3.9" }
212
+ - { i: "pypy3.9 pypy3.10", py: "pypy3.10" }
200
213
steps :
201
214
- uses : actions/checkout@v4
202
215
- uses : actions/setup-python@v5
203
216
with :
204
- python-version : " 3.12 "
217
+ python-version : " ${{ matrix.py.py }} "
205
218
- uses : dtolnay/rust-toolchain@stable
206
219
- name : Build wheels - x86_64
207
220
uses : PyO3/maturin-action@v1
208
221
with :
209
222
target : x86_64
210
- args : --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
223
+ args : --release --out dist -i ${{ matrix.py.i }}
211
224
sccache : " true"
212
225
- name : Build wheels - universal2
213
226
uses : PyO3/maturin-action@v1
214
227
with :
215
228
target : universal2-apple-darwin
216
- args : --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
229
+ args : --release --out dist -i ${{ matrix.py.i }}
217
230
- name : Install and test uuid_utils
218
231
run : |
219
232
pip install uuid_utils --no-index --find-links dist --force-reinstall
@@ -222,7 +235,7 @@ jobs:
222
235
- name : Upload wheels
223
236
uses : actions/upload-artifact@v4
224
237
with :
225
- name : wheels-macos
238
+ name : wheels-macos-${{ strategy.job-index }}
226
239
path : dist
227
240
228
241
sdist :
0 commit comments