Skip to content

Commit

Permalink
COMP: Upgrade Azure Pipelines CI from windows-2019 to windows-2022
Browse files Browse the repository at this point in the history
Looking at https://github.com/actions/runner-images/tree/562b6b9e90dfd8d81b8b174a0f095be92f18f09c/images/windows it appears that windows-2019 still has Python 3.7.9, which is no longer supported by SimpleITK, while windows-2022 has Python 3.9.13 "out of the box".

Follow-up to:

 - pull request #985 commit 2c44c33 "COMP: Upgrade GitHub Actions CI to ubuntu-22.04, windows-2022, macos-12"
 - pull request #985 commit dd65ed4 "COMP: Upgrade GitHub Actions to Python 3.8"
  • Loading branch information
N-Dekker committed Nov 15, 2023
1 parent eb2bd38 commit 2238c5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Testing/CI/Azure/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- job: Windows
timeoutInMinutes: 0
pool:
vmImage: 'windows-2019'
vmImage: 'windows-2022'
strategy:
matrix:
ITKv5:
Expand All @@ -44,7 +44,7 @@ jobs:
- task: CMake@1
displayName: 'CMake Generate ITK'
inputs:
cmakeArgs: -G "Visual Studio 16 2019" -T host=x64 -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DITK_LEGACY_REMOVE=ON "$(ITK_SOURCE_DIR)"
cmakeArgs: -G "Visual Studio 17 2022" -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'
Expand All @@ -54,7 +54,7 @@ jobs:
- task: CMake@1
displayName: 'CMake Generate Elastix'
inputs:
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)"
cmakeArgs: -G "Visual Studio 17 2022" -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'
Expand All @@ -64,7 +64,7 @@ jobs:
- task: CMake@1
displayName: 'CMake Generate externalproject'
inputs:
cmakeArgs: -G "Visual Studio 16 2019" -T host=x64 -DElastix_DIR=$(ELASTIX_BINARY_DIR) "$(ELASTIX_SOURCE_DIR)/dox/externalproject"
cmakeArgs: -G "Visual Studio 17 2022" -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'
Expand Down

0 comments on commit 2238c5d

Please sign in to comment.