15
15
itk-git-tag :
16
16
required : false
17
17
type : string
18
- default : ' 171fb2ba33a87041f99328a2f26612ff33aa9cc8 '
18
+ default : ' abf5fa10522a36bc51f42f20f426a622f42ed90d '
19
19
20
20
jobs :
21
21
build-test-cxx :
22
22
runs-on : ${{ matrix.os }}
23
23
strategy :
24
24
max-parallel : 3
25
25
matrix :
26
- os : [ubuntu-20.04, windows-2019 , macos-11]
26
+ os : [ubuntu-20.04, windows-2022 , macos-11]
27
27
include :
28
28
- os : ubuntu-20.04
29
29
c-compiler : " gcc"
30
30
cxx-compiler : " g++"
31
31
cmake-build-type : " MinSizeRel"
32
- - os : windows-2019
32
+ - os : windows-2022
33
33
c-compiler : " cl.exe"
34
34
cxx-compiler : " cl.exe"
35
35
cmake-build-type : " Release"
52
52
python -m pip install ninja
53
53
54
54
- name : Get specific version of CMake, Ninja
55
- uses : lukka/get-cmake@v3.18.3
55
+ uses : lukka/get-cmake@v3.22.2
56
56
57
57
- name : Download ITK
58
58
run : |
62
62
git checkout ${{ inputs.itk-git-tag }}
63
63
64
64
- name : Build ITK
65
- if : matrix.os != 'windows-2019 '
65
+ if : matrix.os != 'windows-2022 '
66
66
run : |
67
67
cd ..
68
68
mkdir ITK-build
@@ -71,12 +71,12 @@ jobs:
71
71
ninja
72
72
73
73
- name : Build ITK
74
- if : matrix.os == 'windows-2019 '
74
+ if : matrix.os == 'windows-2022 '
75
75
run : |
76
76
cd ..
77
77
mkdir ITK-build
78
78
cd ITK-build
79
- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
79
+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
80
80
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 ${{ inputs.itk-cmake-options }} -GNinja ../ITK
81
81
ninja
82
82
shell : cmd
@@ -131,13 +131,13 @@ jobs:
131
131
cat dashboard.cmake
132
132
133
133
- name : Build and test
134
- if : matrix.os != 'windows-2019 '
134
+ if : matrix.os != 'windows-2022 '
135
135
run : |
136
136
ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }}
137
137
138
138
- name : Build and test
139
- if : matrix.os == 'windows-2019 '
139
+ if : matrix.os == 'windows-2022 '
140
140
run : |
141
- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
141
+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
142
142
ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }}
143
143
shell : cmd
0 commit comments