Skip to content

Commit ee73384

Browse files
build-ants.yml: Switch to up-to-date runner OSs
This won't really matter because we won't be building ANTs ourselves anymore, but this will ensure the actions run at least.
1 parent e897481 commit ee73384

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

.github/workflows/build-ants.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build:
1616
strategy:
1717
matrix:
18-
os: [ubuntu-20.04, ubuntu-18.04, macos-10.15]
18+
os: [ubuntu-latest, macos-latest]
1919
runs-on: ${{ matrix.os }}
2020
steps:
2121
# first, rewrite OS names to be safe for github artifacts.
@@ -85,9 +85,7 @@ jobs:
8585
build-manylinuxes: # Github only supports Ubuntu natively; for other Linuxes, we need to use Docker
8686
strategy:
8787
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']
9189
runs-on: ubuntu-latest
9290
container: ${{ matrix.os }}
9391
steps:
@@ -178,14 +176,14 @@ jobs:
178176
- name: Upload result
179177
uses: actions/upload-artifact@v4
180178
with:
181-
name: sct-apps_${{ env.ARTIFACT }}
179+
name: sct-apps_centos-8
182180
#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
184182

185183
build-windows:
186184
strategy:
187185
matrix:
188-
os: [ windows-2019 ]
186+
os: [ windows-latest ]
189187
runs-on: ${{ matrix.os }}
190188
defaults:
191189
run:
@@ -290,7 +288,7 @@ jobs:
290288
steps:
291289
- uses: actions/download-artifact@v4
292290
with:
293-
name: sct-apps_centos7
291+
name: sct-apps_centos-8
294292
continue-on-error: true
295293
- name: checkin # DEBUG
296294
run: find .
@@ -308,22 +306,17 @@ jobs:
308306

309307
- uses: actions/download-artifact@v4
310308
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
317310
continue-on-error: true
318311

319312
- uses: actions/download-artifact@v4
320313
with:
321-
name: sct-apps_macos-10.15
314+
name: sct-apps_macos-latest
322315
continue-on-error: true
323316

324317
- uses: actions/download-artifact@v4
325318
with:
326-
name: sct-apps_windows-2019
319+
name: sct-apps_windows-latest
327320
continue-on-error: true
328321

329322
- name: Create Release
@@ -338,4 +331,4 @@ jobs:
338331
name: Release ${{ github.sha }}
339332
draft: true
340333
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

Comments
 (0)