@@ -11,17 +11,17 @@ jobs:
11
11
strategy :
12
12
max-parallel : 3
13
13
matrix :
14
- os : [ubuntu-20 .04, windows-2019 , macos-11 ]
14
+ os : [ubuntu-22 .04, windows-2022 , macos-12 ]
15
15
include :
16
- - os : ubuntu-20 .04
16
+ - os : ubuntu-22 .04
17
17
c-compiler : " gcc"
18
18
cxx-compiler : " g++"
19
19
cmake-build-type : " MinSizeRel"
20
- - os : windows-2019
20
+ - os : windows-2022
21
21
c-compiler : " cl.exe"
22
22
cxx-compiler : " cl.exe"
23
23
cmake-build-type : " Release"
24
- - os : macos-11
24
+ - os : macos-12
25
25
c-compiler : " clang"
26
26
cxx-compiler : " clang++"
27
27
cmake-build-type : " MinSizeRel"
@@ -31,10 +31,10 @@ jobs:
31
31
with :
32
32
path : Ex
33
33
34
- - name : Set up Python 3.7
34
+ - name : Set up Python 3.9
35
35
uses : actions/setup-python@v1
36
36
with :
37
- python-version : 3.7
37
+ python-version : 3.9
38
38
39
39
- name : Install build dependencies
40
40
run : |
@@ -52,20 +52,20 @@ jobs:
52
52
git checkout ${{ env.itk-git-tag }}
53
53
54
54
- name : Build ITK
55
- if : matrix.os != 'windows-2019 '
55
+ if : matrix.os != 'windows-2022 '
56
56
run : |
57
57
cd ..
58
58
mkdir ITK-build
59
59
cd ITK-build
60
60
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
61
61
ninja
62
62
- name : Build ITK
63
- if : matrix.os == 'windows-2019 '
63
+ if : matrix.os == 'windows-2022 '
64
64
run : |
65
65
cd ..
66
66
mkdir ITK-build
67
67
cd ITK-build
68
- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
68
+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
69
69
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
70
70
ninja
71
71
shell : cmd
@@ -115,13 +115,13 @@ jobs:
115
115
EOF
116
116
cat dashboard.cmake
117
117
- name : Build and test
118
- if : matrix.os != 'windows-2019 '
118
+ if : matrix.os != 'windows-2022 '
119
119
run : |
120
120
ctest -j 2 -VV -S dashboard.cmake
121
121
- name : Build and test
122
- if : matrix.os == 'windows-2019 '
122
+ if : matrix.os == 'windows-2022 '
123
123
run : |
124
- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
124
+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
125
125
ctest -j 2 -VV -S dashboard.cmake
126
126
shell : cmd
127
127
@@ -130,17 +130,17 @@ jobs:
130
130
strategy :
131
131
max-parallel : 3
132
132
matrix :
133
- os : [ubuntu-20 .04, windows-2019 , macos-11 ]
133
+ os : [ubuntu-22 .04, windows-2022 , macos-12 ]
134
134
include :
135
135
- os : ubuntu-20.04
136
136
c-compiler : " gcc"
137
137
cxx-compiler : " g++"
138
138
cmake-build-type : " MinSizeRel"
139
- - os : windows-2019
139
+ - os : windows-2022
140
140
c-compiler : " cl.exe"
141
141
cxx-compiler : " cl.exe"
142
142
cmake-build-type : " Release"
143
- - os : macos-11
143
+ - os : macos-12
144
144
c-compiler : " clang"
145
145
cxx-compiler : " clang++"
146
146
cmake-build-type : " MinSizeRel"
@@ -150,10 +150,10 @@ jobs:
150
150
with :
151
151
path : Ex
152
152
153
- - name : Set up Python 3.7
154
- uses : actions/setup-python@v1
153
+ - name : Set up Python 3.9
154
+ uses : actions/setup-python@v3
155
155
with :
156
- python-version : 3.7
156
+ python-version : 3.9
157
157
158
158
- name : Install build dependencies
159
159
run : |
@@ -213,14 +213,14 @@ jobs:
213
213
cat dashboard.cmake
214
214
215
215
- name : Build and test
216
- if : matrix.os != 'windows-2019 '
216
+ if : matrix.os != 'windows-2022 '
217
217
run : |
218
218
ctest -j 2 -VV -S dashboard.cmake
219
219
220
220
- name : Build and test
221
- if : matrix.os == 'windows-2019 '
221
+ if : matrix.os == 'windows-2022 '
222
222
run : |
223
- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
223
+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
224
224
ctest -j 2 -VV -S dashboard.cmake
225
225
shell : cmd
226
226
@@ -229,20 +229,20 @@ jobs:
229
229
strategy :
230
230
max-parallel : 3
231
231
matrix :
232
- os : [ubuntu-20 .04, windows-2019 , macos-11 ]
232
+ os : [ubuntu-22 .04, windows-2022 , macos-12 ]
233
233
234
234
steps :
235
- - uses : actions/checkout@v1
236
- - name : Set up Python 3.7
237
- uses : actions/setup-python@v1
235
+ - uses : actions/checkout@v3
236
+ - name : Set up Python 3.9
237
+ uses : actions/setup-python@v3
238
238
with :
239
- python-version : 3.7
239
+ python-version : 3.9
240
240
241
241
- name : Install build dependencies
242
242
run : |
243
243
python -m pip install --upgrade pip
244
244
python -m pip install ninja
245
- python -m pip install itk>=5.2.0.post2
245
+ python -m pip install itk>=5.3.0
246
246
python -m pip install matplotlib
247
247
python -m pip install itkwidgets
248
248
@@ -254,23 +254,23 @@ jobs:
254
254
strategy :
255
255
max-parallel : 3
256
256
matrix :
257
- os : [ubuntu-20 .04]
257
+ os : [ubuntu-22 .04]
258
258
include :
259
- - os : ubuntu-20 .04
259
+ - os : ubuntu-22 .04
260
260
c-compiler : " gcc"
261
261
cxx-compiler : " g++"
262
262
cmake-build-type : " Release"
263
263
264
264
steps :
265
- - uses : actions/checkout@v2
265
+ - uses : actions/checkout@v3
266
266
with :
267
267
path : Ex
268
268
submodules : recursive
269
269
270
- - name : Set up Python 3.8
271
- uses : actions/setup-python@v1
270
+ - name : Set up Python 3.9
271
+ uses : actions/setup-python@v3
272
272
with :
273
- python-version : 3.8
273
+ python-version : 3.9
274
274
275
275
- name : Get specific version of CMake, Ninja
276
276
uses : lukka/get-cmake@v3.19.2
0 commit comments