88 strategy :
99 max-parallel : 3
1010 matrix :
11- os : [ubuntu-18 .04, windows-2019 , macos-10.15]
11+ os : [ubuntu-24 .04, windows-2022 , macos-10.15]
1212 include :
13- - os : ubuntu-18 .04
13+ - os : ubuntu-24 .04
1414 c-compiler : " gcc"
1515 cxx-compiler : " g++"
16- itk-git-tag : " d6acfd26bfcdec606d605beb1301bddfb17c05a6 "
16+ itk-git-tag : " v6.0a02 "
1717 cmake-build-type : " MinSizeRel"
18- - os : windows-2019
18+ - os : windows-2022
1919 c-compiler : " cl.exe"
2020 cxx-compiler : " cl.exe"
21- itk-git-tag : " d6acfd26bfcdec606d605beb1301bddfb17c05a6 "
21+ itk-git-tag : " v6.0a02 "
2222 cmake-build-type : " Release"
2323 - os : macos-10.15
2424 c-compiler : " clang"
2525 cxx-compiler : " clang++"
26- itk-git-tag : " d6acfd26bfcdec606d605beb1301bddfb17c05a6 "
26+ itk-git-tag : " v6.0a02 "
2727 cmake-build-type : " MinSizeRel"
2828
2929 steps :
30- - uses : actions/checkout@v1
30+ - uses : actions/checkout@v4
3131
32- - name : Set up Python 3.7
33- uses : actions/setup-python@v1
32+ - name : Set up Python 3.12
33+ uses : actions/setup-python@v5
3434 with :
35- python-version : 3.7
35+ python-version : 3.12
3636
3737 - name : Install build dependencies
3838 run : |
3939 python -m pip install --upgrade pip
4040 python -m pip install ninja
4141
4242 - name : Get specific version of CMake, Ninja
43- uses : lukka/get-cmake@v3.18.3
43+ uses : lukka/get-cmake@latest
4444
4545 - name : Download ITK
4646 run : |
5050 git checkout ${{ matrix.itk-git-tag }}
5151
5252 - name : Build ITK
53- if : matrix.os != 'windows-2019 '
53+ if : matrix.os != 'windows-2022 '
5454 run : |
5555 cd ..
5656 mkdir ITK-build
@@ -59,12 +59,12 @@ jobs:
5959 ninja
6060
6161 - name : Build ITK
62- if : matrix.os == 'windows-2019 '
62+ if : matrix.os == 'windows-2022 '
6363 run : |
6464 cd ..
6565 mkdir ITK-build
6666 cd ITK-build
67- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
67+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
6868 cmake -DCMAKE_C_COMPILER:FILEPATH="${{ matrix.c-compiler }}" -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_CXX_COMPILER="${{ matrix.cxx-compiler }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.cmake-build-type }} -DBUILD_TESTING:BOOL=OFF -GNinja ../ITK
6969 ninja
7070 shell : cmd
@@ -118,13 +118,13 @@ jobs:
118118 cat dashboard.cmake
119119
120120 - name : Build and test
121- if : matrix.os != 'windows-2019 '
121+ if : matrix.os != 'windows-2022 '
122122 run : |
123123 ctest --output-on-failure -j 2 -V -S dashboard.cmake
124124
125125 - name : Build and test
126- if : matrix.os == 'windows-2019 '
126+ if : matrix.os == 'windows-2022 '
127127 run : |
128- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
128+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
129129 ctest --output-on-failure -j 2 -VV -S dashboard.cmake
130130 shell : cmd
0 commit comments