Skip to content

Commit f7453f5

Browse files
authored
Merge pull request #447 from InsightSoftwareConsortium/update-build-to-main-branch
COMP: Upgrade bit-rotted macOS runner pins to macos-14 house canonical
2 parents 55f4807 + ad02f95 commit f7453f5

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build-test-publish.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
max-parallel: 3
1313
matrix:
14-
os: [ubuntu-24.04, windows-2022, macos-13]
14+
os: [ubuntu-24.04, windows-2022, macos-14]
1515
include:
1616
- os: ubuntu-24.04
1717
c-compiler: "gcc"
@@ -21,7 +21,7 @@ jobs:
2121
c-compiler: "cl.exe"
2222
cxx-compiler: "cl.exe"
2323
cmake-build-type: "Release"
24-
- os: macos-13
24+
- os: macos-14
2525
c-compiler: "clang"
2626
cxx-compiler: "clang++"
2727
cmake-build-type: "MinSizeRel"
@@ -44,10 +44,11 @@ jobs:
4444
- name: Get specific version of CMake, Ninja
4545
uses: lukka/get-cmake@v3.24.2
4646

47-
- name: Specific XCode version
48-
if: matrix.os == 'macos-13'
47+
- name: Select Xcode
48+
if: startsWith(matrix.os, 'macos')
4949
run: |
50-
sudo xcode-select -s "/Applications/Xcode_14.3.1.app"
50+
XCODE_APP=$(ls -d /Applications/Xcode*.app 2>/dev/null | sort -V | tail -1)
51+
sudo xcode-select -s "${XCODE_APP}/Contents/Developer"
5152
5253
- name: Download ITK
5354
run: |
@@ -234,7 +235,7 @@ jobs:
234235
strategy:
235236
max-parallel: 3
236237
matrix:
237-
os: [ubuntu-24.04, windows-2022, macos-13]
238+
os: [ubuntu-24.04, windows-2022, macos-14]
238239

239240
steps:
240241
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)