|
31 | 31 | manylinux_image: 'quay.io/pypa/manylinux2014_x86_64' |
32 | 32 | plat: 'manylinux2014_x86_64' |
33 | 33 | - python-version: '3.14' |
34 | | - manylinux_image: 'ghcr.io/pypa/manylinux/manylinux_2_31_x86_64' |
35 | | - plat: 'manylinux_2_31_x86_64' |
36 | | - - python-version: '3.14t' |
37 | | - manylinux_image: 'ghcr.io/pypa/manylinux/manylinux_2_31_x86_64' |
38 | | - plat: 'manylinux_2_31_x86_64' |
| 34 | + manylinux_image: 'quay.io/pypa/manylinux2014_x86_64' |
| 35 | + plat: 'manylinux2014_x86_64' |
39 | 36 | runs-on: ubuntu-latest |
40 | 37 | steps: |
41 | 38 | - name: Check out repository |
|
68 | 65 | strategy: |
69 | 66 | max-parallel: 4 |
70 | 67 | matrix: |
71 | | - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] |
| 68 | + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] |
72 | 69 |
|
73 | 70 | steps: |
74 | 71 | - uses: actions/checkout@v3.5.3 |
@@ -105,45 +102,10 @@ jobs: |
105 | 102 | name: dist-macos-${{ matrix.python-version }} |
106 | 103 | path: dist |
107 | 104 |
|
108 | | - build-windows: |
109 | | - runs-on: windows-latest |
110 | | - strategy: |
111 | | - max-parallel: 3 |
112 | | - matrix: |
113 | | - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] |
114 | | - |
115 | | - steps: |
116 | | - - uses: actions/checkout@v3.5.3 |
117 | | - |
118 | | - - name: Download Build Tools for Visual Studio 2019 |
119 | | - run: Invoke-WebRequest -Uri https://aka.ms/vs/16/release/vs_buildtools.exe -OutFile vs_buildtools.exe |
120 | | - |
121 | | - - name: Run vs_buildtools.exe install |
122 | | - run: ./vs_buildtools.exe --quiet --wait --norestart --nocache --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.v141.x86.x64 --add Microsoft.VisualStudio.Component.VC.140 --includeRecommended |
123 | | - |
124 | | - - name: Set up Python ${{ matrix.python-version }} x64 |
125 | | - uses: actions/setup-python@v4 |
126 | | - with: |
127 | | - python-version: ${{ matrix.python-version }} |
128 | | - architecture: x64 |
129 | | - |
130 | | - - name: Install Python package dependencies |
131 | | - run: python -m pip install --upgrade cython wheel numpy setuptools_rust |
132 | | - |
133 | | - - name: Build binary wheel |
134 | | - run: python setup.py bdist_wheel |
135 | | - |
136 | | - - name: Archive dist artifacts |
137 | | - uses: actions/upload-artifact@v4 |
138 | | - with: |
139 | | - name: dist-windows-${{ matrix.python-version }} |
140 | | - path: dist |
141 | | - |
142 | 105 | upload: |
143 | 106 | needs: |
144 | 107 | - build-manylinux |
145 | 108 | - build-macos |
146 | | - - build-windows |
147 | 109 | runs-on: ubuntu-latest |
148 | 110 |
|
149 | 111 | steps: |
@@ -205,13 +167,6 @@ jobs: |
205 | 167 | path: dist-linux-3.14 |
206 | 168 | - run: mv -v dist-linux-3.14/* dist/ |
207 | 169 |
|
208 | | - - name: Stage linux 3.14t |
209 | | - uses: actions/download-artifact@v4.1.7 |
210 | | - with: |
211 | | - name: dist-linux-3.14t |
212 | | - path: dist-linux-3.14t |
213 | | - - run: mv -v dist-linux-3.14t/* dist/ |
214 | | - |
215 | 170 | - name: Stage macos 3.9 |
216 | 171 | uses: actions/download-artifact@v4.1.7 |
217 | 172 | with: |
@@ -253,62 +208,6 @@ jobs: |
253 | 208 | name: dist-macos-3.14 |
254 | 209 | path: dist-macos-3.14 |
255 | 210 | - run: mv -v dist-macos-3.14/* dist/ |
256 | | - |
257 | | - - name: Stage macos 3.14t |
258 | | - uses: actions/download-artifact@v4.1.7 |
259 | | - with: |
260 | | - name: dist-macos-3.14t |
261 | | - path: dist-macos-3.14t |
262 | | - - run: mv -v dist-macos-3.14t/* dist/ |
263 | | - |
264 | | - - name: Stage windows 3.9 |
265 | | - uses: actions/download-artifact@v4.1.7 |
266 | | - with: |
267 | | - name: dist-windows-3.9 |
268 | | - path: dist-windows-3.9 |
269 | | - - run: mv -v dist-windows-3.9/* dist/ |
270 | | - |
271 | | - - name: Stage windows 3.10 |
272 | | - uses: actions/download-artifact@v4.1.7 |
273 | | - with: |
274 | | - name: dist-windows-3.10 |
275 | | - path: dist-windows-3.10 |
276 | | - - run: mv -v dist-windows-3.10/* dist/ |
277 | | - |
278 | | - - name: Stage windows 3.11 |
279 | | - uses: actions/download-artifact@v4.1.7 |
280 | | - with: |
281 | | - name: dist-windows-3.11 |
282 | | - path: dist-windows-3.11 |
283 | | - - run: mv -v dist-windows-3.11/* dist/ |
284 | | - |
285 | | - - name: Stage windows 3.12 |
286 | | - uses: actions/download-artifact@v4.1.7 |
287 | | - with: |
288 | | - name: dist-windows-3.12 |
289 | | - path: dist-windows-3.12 |
290 | | - - run: mv -v dist-windows-3.12/* dist/ |
291 | | - |
292 | | - - name: Stage windows 3.13 |
293 | | - uses: actions/download-artifact@v4.1.7 |
294 | | - with: |
295 | | - name: dist-windows-3.13 |
296 | | - path: dist-windows-3.13 |
297 | | - - run: mv -v dist-windows-3.13/* dist/ |
298 | | - |
299 | | - - name: Stage windows 3.14 |
300 | | - uses: actions/download-artifact@v4.1.7 |
301 | | - with: |
302 | | - name: dist-windows-3.14 |
303 | | - path: dist-windows-3.14 |
304 | | - - run: mv -v dist-windows-3.14/* dist/ |
305 | | - |
306 | | - - name: Stage windows 3.14t |
307 | | - uses: actions/download-artifact@v4.1.7 |
308 | | - with: |
309 | | - name: dist-windows-3.14t |
310 | | - path: dist-windows-3.14t |
311 | | - - run: mv -v dist-windows-3.14t/* dist/ |
312 | 211 |
|
313 | 212 | - name: Publish distribution 📦 to PyPI |
314 | 213 | uses: pypa/gh-action-pypi-publish@release/v1 |
|
0 commit comments