@@ -181,13 +181,38 @@ jobs:
181
181
if : matrix.os == 'windows-latest'
182
182
run : |
183
183
Add-Content $env:GITHUB_PATH "$(pwd)/stan/lib/stan_math/lib/tbb"
184
- - name : Build wheels
184
+ # Separate build steps for each Python version to avoid issues with pyo3 0.23.4
185
+ - name : Build wheels 3.10
185
186
uses : PyO3/maturin-action@v1
186
187
env :
187
188
LIBCLANG_PATH : ${{ runner.temp }}/llvm/lib
188
189
with :
189
190
target : ${{ matrix.platform.target }}
190
- args : --release --out dist --find-interpreter
191
+ args : --release --out dist --interpreter 3.10
192
+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
193
+ - name : Build wheels 3.11
194
+ uses : PyO3/maturin-action@v1
195
+ env :
196
+ LIBCLANG_PATH : ${{ runner.temp }}/llvm/lib
197
+ with :
198
+ target : ${{ matrix.platform.target }}
199
+ args : --release --out dist --interpreter 3.11
200
+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
201
+ - name : Build wheels 3.12
202
+ uses : PyO3/maturin-action@v1
203
+ env :
204
+ LIBCLANG_PATH : ${{ runner.temp }}/llvm/lib
205
+ with :
206
+ target : ${{ matrix.platform.target }}
207
+ args : --release --out dist --interpreter 3.12
208
+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
209
+ - name : Build wheels 3.13
210
+ uses : PyO3/maturin-action@v1
211
+ env :
212
+ LIBCLANG_PATH : ${{ runner.temp }}/llvm/lib
213
+ with :
214
+ target : ${{ matrix.platform.target }}
215
+ args : --release --out dist --interpreter 3.13
191
216
sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
192
217
- name : Upload wheels
193
218
uses : actions/upload-artifact@v4
0 commit comments