11variables :
22 ITKGitTag : v5.1rc03
3- ITKPythonPost : v5.1rc03
3+ ITKPythonGitTag : v5.1rc03
44 CMakeBuildType : Release
55
66trigger :
@@ -19,20 +19,20 @@ jobs:
1919 strategy :
2020 matrix :
2121 Linux :
22- imageName : ' ubuntu-16 .04'
22+ imageName : ' ubuntu-18 .04'
2323 cCompiler : gcc
2424 cxxCompiler : g++
2525 compilerInitialization : ' '
2626 macOS :
27- imageName : ' macos-10.13 '
27+ imageName : ' macos-10.15 '
2828 cCompiler : clang
2929 cxxCompiler : clang++
3030 compilerInitialization : ' '
3131 Windows :
32- imageName : ' vs2017-win2016 '
32+ imageName : ' windows-2019 '
3333 cCompiler : cl.exe
3434 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"'
3636
3737 pool :
3838 vmImage : $(imageName)
5858 displayName: 'Install build dependencies'
5959
6060 - 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)
6264 workingDirectory: $(Agent.BuildDirectory)
6365 displayName: 'Download ITK'
6466
@@ -148,7 +150,7 @@ jobs:
148150 cancelTimeoutInMinutes : 300
149151 displayName : " Build Linux Python packages"
150152 pool :
151- vmImage : ' Ubuntu-16 .04'
153+ vmImage : ' Ubuntu-18 .04'
152154
153155 steps :
154156 - script : |
@@ -157,7 +159,7 @@ jobs:
157159 displayName: 'Fetch build script'
158160
159161 - script : |
160- export ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost )
162+ export ITK_PACKAGE_VERSION=$(ITKPythonGitTag )
161163 ./dockcross-manylinux-download-cache-and-build-module-wheels.sh
162164 displayName: 'Build Python packages'
163165
@@ -172,7 +174,7 @@ jobs:
172174 timeoutInMinutes : 0
173175 cancelTimeoutInMinutes : 300
174176 pool :
175- vmImage : ' macos-10.14 '
177+ vmImage : ' macos-10.15 '
176178
177179 steps :
178180 - script : |
@@ -181,7 +183,7 @@ jobs:
181183 displayName: 'Fetch build script'
182184
183185 - script : |
184- export ITK_PACKAGE_VERSION=$(ITKGitTag)$(ITKPythonPost )
186+ export ITK_PACKAGE_VERSION=$(ITKPythonGitTag )
185187 ./macpython-download-cache-and-build-module-wheels.sh
186188 displayName: 'Build Python packages'
187189
@@ -196,16 +198,16 @@ jobs:
196198 timeoutInMinutes : 0
197199 cancelTimeoutInMinutes : 300
198200 pool :
199- vmImage : ' vs2017-win2016 '
201+ vmImage : ' windows-2019 '
200202
201203 steps :
202204 - script : |
203205 curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/windows-download-cache-and-build-module-wheels.ps1 -O
204206 displayName: 'Fetch build script'
205207
206208 - 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 )
209211 set CC=cl.exe
210212 set CXX=cl.exe
211213 powershell.exe -file .\windows-download-cache-and-build-module-wheels.ps1
0 commit comments