1
1
variables :
2
2
ITKGitTag : v5.1rc03
3
- ITKPythonPost : v5.1rc03
3
+ ITKPythonGitTag : v5.1rc03
4
4
CMakeBuildType : Release
5
5
6
6
trigger :
@@ -19,20 +19,20 @@ jobs:
19
19
strategy :
20
20
matrix :
21
21
Linux :
22
- imageName : ' ubuntu-16 .04'
22
+ imageName : ' ubuntu-18 .04'
23
23
cCompiler : gcc
24
24
cxxCompiler : g++
25
25
compilerInitialization : ' '
26
26
macOS :
27
- imageName : ' macos-10.13 '
27
+ imageName : ' macos-10.15 '
28
28
cCompiler : clang
29
29
cxxCompiler : clang++
30
30
compilerInitialization : ' '
31
31
Windows :
32
- imageName : ' vs2017-win2016 '
32
+ imageName : ' windows-2019 '
33
33
cCompiler : cl.exe
34
34
cxxCompiler : cl.exe
35
- compilerInitialization : ' call "C:\Program Files (x86)\Microsoft Visual Studio\2017 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
35
+ compilerInitialization : ' call "C:\Program Files (x86)\Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
36
36
37
37
pool :
38
38
vmImage : $(imageName)
58
58
displayName: 'Install build dependencies'
59
59
60
60
- script : |
61
- git clone --depth 5 --branch $(ITKGitTag) https://github.com/InsightSoftwareConsortium/ITK.git
61
+ git clone https://github.com/InsightSoftwareConsortium/ITK.git
62
+ cd ITK
63
+ git checkout $(ITKGitTag)
62
64
workingDirectory: $(Agent.BuildDirectory)
63
65
displayName: 'Download ITK'
64
66
@@ -148,7 +150,7 @@ jobs:
148
150
cancelTimeoutInMinutes : 300
149
151
displayName : " Build Linux Python packages"
150
152
pool :
151
- vmImage : ' Ubuntu-16 .04'
153
+ vmImage : ' Ubuntu-18 .04'
152
154
153
155
steps :
154
156
- script : |
@@ -157,7 +159,7 @@ jobs:
157
159
displayName: 'Fetch build script'
158
160
159
161
- script : |
160
- export ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost )
162
+ export ITK_PACKAGE_VERSION=$(ITKPythonGitTag )
161
163
./dockcross-manylinux-download-cache-and-build-module-wheels.sh
162
164
displayName: 'Build Python packages'
163
165
@@ -172,7 +174,7 @@ jobs:
172
174
timeoutInMinutes : 0
173
175
cancelTimeoutInMinutes : 300
174
176
pool :
175
- vmImage : ' macos-10.14 '
177
+ vmImage : ' macos-10.15 '
176
178
177
179
steps :
178
180
- script : |
@@ -181,7 +183,7 @@ jobs:
181
183
displayName: 'Fetch build script'
182
184
183
185
- script : |
184
- export ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost )
186
+ export ITK_PACKAGE_VERSION=$(ITKPythonGitTag )
185
187
./macpython-download-cache-and-build-module-wheels.sh
186
188
displayName: 'Build Python packages'
187
189
@@ -196,16 +198,16 @@ jobs:
196
198
timeoutInMinutes : 0
197
199
cancelTimeoutInMinutes : 300
198
200
pool :
199
- vmImage : ' vs2017-win2016 '
201
+ vmImage : ' windows-2019 '
200
202
201
203
steps :
202
204
- script : |
203
205
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/windows-download-cache-and-build-module-wheels.ps1 -O
204
206
displayName: 'Fetch build script'
205
207
206
208
- script : |
207
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
208
- set ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost )
209
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
210
+ set ITK_PACKAGE_VERSION=$(ITKPythonGitTag )
209
211
set CC=cl.exe
210
212
set CXX=cl.exe
211
213
powershell.exe -file .\windows-download-cache-and-build-module-wheels.ps1
0 commit comments