1+ # The file template originates from the instructions: https://github.com/InsightSoftwareConsortium/ITKModuleTemplate/README.md
12variables :
2- ITKGitTag : c8fde5fe2075192a0c3054d23e8529280108726e
3- ITKPythonGitTag : v5.0.0.post1
3+ ITKGitTag : v5.1rc02 # Used for choosing branch of ITK to checkout
4+ ITKPythonGitTag : v5.1rc02 # Used to identify the release name for the cached python build environmeent ITKPythonBuilds-linux.tar.zst
45 CMakeBuildType : Release
56
67trigger :
@@ -18,21 +19,36 @@ jobs:
1819
1920 strategy :
2021 matrix :
21- Linux :
22- imageName : ' ubuntu-16.04'
23- cCompiler : gcc
24- cxxCompiler : g++
25- compilerInitialization : ' '
26- macOS :
27- imageName : ' macos-10.13'
28- cCompiler : clang
29- cxxCompiler : clang++
30- compilerInitialization : ' '
31- Windows :
32- imageName : ' vs2017-win2016'
33- cCompiler : cl.exe
34- cxxCompiler : cl.exe
35- compilerInitialization : ' call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
22+ # Linux1604:
23+ # imageName: 'ubuntu-16.04'
24+ # cCompiler: gcc
25+ # cxxCompiler: g++
26+ # compilerInitialization: ''
27+ Linux1804 :
28+ imageName : ' ubuntu-18.04'
29+ cCompiler : gcc
30+ cxxCompiler : g++
31+ compilerInitialization : ' '
32+ macOS1015 :
33+ imageName : ' macos-10.15'
34+ cCompiler : clang
35+ cxxCompiler : clang++
36+ compilerInitialization : ' '
37+ # macOS1014:
38+ # imageName: 'macos-10.14'
39+ # cCompiler: clang
40+ # cxxCompiler: clang++
41+ # compilerInitialization: ''
42+ # Windows2017:
43+ # imageName: 'vs2017-win2016'
44+ # cCompiler: cl.exe
45+ # cxxCompiler: cl.exe
46+ # compilerInitialization: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
47+ Windows2019 :
48+ imageName : ' windows-2019'
49+ cCompiler : cl.exe
50+ cxxCompiler : cl.exe
51+ compilerInitialization : ' call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
3652
3753 pool :
3854 vmImage : $(imageName)
5874 displayName: 'Install build dependencies'
5975
6076 - script : |
77+ #git clone https://github.com/InsightSoftwareConsortium/ITK.git
6178 git clone --depth 5 --branch $(ITKGitTag) https://github.com/InsightSoftwareConsortium/ITK.git
79+ cd ITK
80+ git checkout $(ITKGitTag)
6281 workingDirectory: $(Agent.BuildDirectory)
6382 displayName: 'Download ITK'
6483
0 commit comments