15
15
build :
16
16
strategy :
17
17
matrix :
18
- os : [ubuntu-20.04, ubuntu-18.04, macos-10.15 ]
18
+ os : [ubuntu-latest, macos-latest ]
19
19
runs-on : ${{ matrix.os }}
20
20
steps :
21
21
# first, rewrite OS names to be safe for github artifacts.
85
85
build-manylinuxes : # Github only supports Ubuntu natively; for other Linuxes, we need to use Docker
86
86
strategy :
87
87
matrix :
88
- os : ['centos:7'] # 'quay.io/centos/centos:stream8', 'archlinux']
89
- # 'centos:stream8' and 'archlinux' are currently broken. However, we don't currently use either build in our
90
- # `spinalcordtoolbox-binaries` repo. So, we just temporarily disable for now.
88
+ os : ['quay.io/centos/centos:stream8']
91
89
runs-on : ubuntu-latest
92
90
container : ${{ matrix.os }}
93
91
steps :
@@ -178,14 +176,14 @@ jobs:
178
176
- name : Upload result
179
177
uses : actions/upload-artifact@v4
180
178
with :
181
- name : sct-apps_${{ env.ARTIFACT }}
179
+ name : sct-apps_centos-8
182
180
# path: fakeroot/ # this is 2.3G large in this build
183
- path : sct-apps_${{ env.ARTIFACT }} .tar.gz
181
+ path : sct-apps_centos-8 .tar.gz
184
182
185
183
build-windows :
186
184
strategy :
187
185
matrix :
188
- os : [ windows-2019 ]
186
+ os : [ windows-latest ]
189
187
runs-on : ${{ matrix.os }}
190
188
defaults :
191
189
run :
@@ -290,7 +288,7 @@ jobs:
290
288
steps :
291
289
- uses : actions/download-artifact@v4
292
290
with :
293
- name : sct-apps_centos7
291
+ name : sct-apps_centos-8
294
292
continue-on-error : true
295
293
- name : checkin # DEBUG
296
294
run : find .
@@ -308,22 +306,17 @@ jobs:
308
306
309
307
- uses : actions/download-artifact@v4
310
308
with :
311
- name : sct-apps_ubuntu-20.04
312
- continue-on-error : true
313
-
314
- - uses : actions/download-artifact@v4
315
- with :
316
- name : sct-apps_ubuntu-18.04
309
+ name : sct-apps_ubuntu-latest
317
310
continue-on-error : true
318
311
319
312
- uses : actions/download-artifact@v4
320
313
with :
321
- name : sct-apps_macos-10.15
314
+ name : sct-apps_macos-latest
322
315
continue-on-error : true
323
316
324
317
- uses : actions/download-artifact@v4
325
318
with :
326
- name : sct-apps_windows-2019
319
+ name : sct-apps_windows-latest
327
320
continue-on-error : true
328
321
329
322
- name : Create Release
@@ -338,4 +331,4 @@ jobs:
338
331
name : Release ${{ github.sha }}
339
332
draft : true
340
333
prerelease : true
341
- artifacts : ' sct-apps_centos7/sct-apps_centos7.tar.gz,sct-apps_ubuntu-20.04 /sct-apps_ubuntu-20.04. tar.gz,sct-apps_ubuntu-18.04 /sct-apps_ubuntu-18.04. tar.gz,sct-apps_macos-10.15 /sct-apps_macos-10.15. tar.gz,sct-apps_windows-2019 /sct-apps_windows-2019 .tar.gz'
334
+ artifacts : ' sct-apps_centos-8 /sct-apps_centos-8. tar.gz,sct-apps_ubuntu-latest /sct-apps_ubuntu-latest. tar.gz,sct-apps_macos-latest /sct-apps_macos-latest. tar.gz,sct-apps_windows-latest /sct-apps_windows-latest .tar.gz'
0 commit comments