diff --git a/Testing/CI/Azure/ci.yml b/Testing/CI/Azure/ci.yml index 8bf7fc808..6a1607a35 100644 --- a/Testing/CI/Azure/ci.yml +++ b/Testing/CI/Azure/ci.yml @@ -10,7 +10,7 @@ jobs: - job: Windows timeoutInMinutes: 0 pool: - vmImage: 'vs2017-win2016' + vmImage: 'windows-2019' strategy: matrix: ITKv5: @@ -27,7 +27,7 @@ jobs: - task: CMake@1 displayName: 'CMake Generate ITK' inputs: - cmakeArgs: -G "Visual Studio 15 2017 Win64" -T host=x64 -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DITK_LEGACY_REMOVE=ON "$(ITK_SOURCE_DIR)" + cmakeArgs: -G "Visual Studio 16 2019" -T host=x64 -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DITK_LEGACY_REMOVE=ON "$(ITK_SOURCE_DIR)" workingDirectory: "$(ITK_BINARY_DIR)" - task: CMake@1 displayName: 'CMake Build ITK' @@ -37,7 +37,7 @@ jobs: - task: CMake@1 displayName: 'CMake Generate Elastix' inputs: - cmakeArgs: -G "Visual Studio 15 2017 Win64" -T host=x64 -DITK_DIR="$(ITK_BINARY_DIR)" -DBUILD_TESTING=ON -DELASTIX_USE_GTEST=ON -DUSE_ALL_COMPONENTS=ON "$(ELASTIX_SOURCE_DIR)" + cmakeArgs: -G "Visual Studio 16 2019" -T host=x64 -DITK_DIR="$(ITK_BINARY_DIR)" -DBUILD_TESTING=ON -DELASTIX_USE_GTEST=ON -DUSE_ALL_COMPONENTS=ON "$(ELASTIX_SOURCE_DIR)" workingDirectory: "$(ELASTIX_BINARY_DIR)" - task: CMake@1 displayName: 'CMake Build Elastix' @@ -47,7 +47,7 @@ jobs: - task: CMake@1 displayName: 'CMake Generate externalproject' inputs: - cmakeArgs: -G "Visual Studio 15 2017 Win64" -T host=x64 -DElastix_DIR=$(ELASTIX_BINARY_DIR) "$(ELASTIX_SOURCE_DIR)/dox/externalproject" + cmakeArgs: -G "Visual Studio 16 2019" -T host=x64 -DElastix_DIR=$(ELASTIX_BINARY_DIR) "$(ELASTIX_SOURCE_DIR)/dox/externalproject" workingDirectory: $(Agent.BuildDirectory)/externalproject-build - task: CMake@1 displayName: 'CMake Build externalproject'