99 - main
1010
1111env :
12- itk-git-tag : " v5.4.0"
12+ # v5.4.0 + additional patches on the release-5.4 branch
13+ itk-git-tag : " 49413c3a9e8ecf0f912534e7c13f4c7bc3799d60"
1314 itk-wheel-tag : " v5.4.0"
1415 # v5.4.0 + fixes
15- itk-python-package-tag : " a52d9b596b4f0da5ddb770ee99851e5c65ca3053 "
16+ itk-python-package-tag : " 830d14cc40199f438001ee493288139fb75bba92 "
1617
1718jobs :
1819 build-test-cxx :
1920 runs-on : ${{ matrix.os }}
2021 strategy :
2122 max-parallel : 3
2223 matrix :
23- os : [ubuntu-22.04, windows-2022, macos-12 ]
24+ os : [ubuntu-22.04, windows-2022, macos-13, macos-14 ]
2425 include :
2526 - os : ubuntu-22.04
2627 c-compiler : " gcc"
@@ -30,14 +31,24 @@ jobs:
3031 c-compiler : " cl.exe"
3132 cxx-compiler : " cl.exe"
3233 cmake-build-type : " Release"
33- - os : macos-12
34+ - os : macos-13
35+ c-compiler : " clang"
36+ cxx-compiler : " clang++"
37+ cmake-build-type : " MinSizeRel"
38+ - os : macos-14
3439 c-compiler : " clang"
3540 cxx-compiler : " clang++"
3641 cmake-build-type : " MinSizeRel"
3742
3843 steps :
3944 - uses : actions/checkout@v4
4045
46+ - name : Free Disk Space (Ubuntu)
47+ if : matrix.os == 'ubuntu-22.04'
48+ uses : jlumbroso/free-disk-space@v1.3.1
49+ with :
50+ large-packages : false
51+
4152 - name : Set up Python 3.11
4253 uses : actions/setup-python@v5
4354 with :
5263 - name : Get specific version of CMake, Ninja
5364 uses : lukka/get-cmake@v3.29.0
5465
66+ - name : ' Specific XCode version'
67+ if : matrix.os == 'macos-13'
68+ run : |
69+ sudo xcode-select -s "/Applications/Xcode_14.3.1.app"
70+
71+ - name : ' Specific XCode version'
72+ if : matrix.os == 'macos-14'
73+ run : |
74+ sudo xcode-select -s "/Applications/Xcode_15.0.1.app"
75+
5576 - name : Download ITK
5677 run : |
5778 cd ..
6182
6283 - name : Build ITK
6384 if : matrix.os != 'windows-2022'
85+ shell : bash
6486 run : |
6587 cd ..
6688 mkdir ITK-build
@@ -70,14 +92,15 @@ jobs:
7092
7193 - name : Build ITK
7294 if : matrix.os == 'windows-2022'
95+ shell : pwsh
7396 run : |
97+ Set-PSDebug -Trace 1
7498 cd ..
7599 mkdir ITK-build
76100 cd ITK-build
77- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
101+ & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -SkipAutomaticLocation
78102 cmake -DCMAKE_C_COMPILER:FILEPATH="${{ matrix.c-compiler }}" -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_CXX_COMPILER="${{ matrix.cxx-compiler }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.cmake-build-type }} -DBUILD_TESTING:BOOL=OFF -GNinja ../ITK
79103 ninja
80- shell : cmd
81104
82105 - name : Fetch CTest driver script
83106 run : |
@@ -140,17 +163,17 @@ jobs:
140163
141164 - name : Build and test
142165 if : matrix.os == 'windows-2022'
166+ shell : pwsh
143167 run : |
144- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
168+ & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -SkipAutomaticLocation
145169 ctest --output-on-failure -j 2 -V -S dashboard.cmake
146- shell : cmd
147170
148171 build-linux-python-packages :
149172 runs-on : ubuntu-22.04
150173 strategy :
151174 max-parallel : 2
152175 matrix :
153- python-version : ["38", " 39", "310", "311"]
176+ python-version : ["39", "310", "311"]
154177
155178 steps :
156179 - uses : actions/checkout@v4
@@ -213,7 +236,7 @@ jobs:
213236 strategy :
214237 max-parallel : 2
215238 matrix :
216- python-version : ["38", " 39", "310", "311"]
239+ python-version : ["39", "310", "311"]
217240
218241 steps :
219242 - uses : actions/checkout@v4
@@ -261,7 +284,7 @@ jobs:
261284 strategy :
262285 max-parallel : 2
263286 matrix :
264- python-version-minor : ["8", " 9", "10", "11"]
287+ python-version-minor : ["9", "10", "11"]
265288
266289 steps :
267290 - uses : actions/checkout@v4
0 commit comments