Skip to content

Commit 94cbf36

Browse files
committed
COMP: Switch Linux/Windows Python Azure CI from MinSizeRel to Release
MinSizeRel (-Os) tests an optimization profile ITK users overwhelmingly do not ship; users build Release (-O3) or RelWithDebInfo. The historical reason for MinSizeRel on hosted runners (small artifacts on free-tier images) no longer applies on current Azure agents. Switch the surviving Python wrapping jobs to Release so PR signal matches what users compile. The remaining MinSizeRel canary lives on the consolidated LinuxLegacyRemovedCxx20 job, which retains coverage that the unusual optimizer config still builds. Part of issue #6163 (CI matrix consolidation).
1 parent 54718d0 commit 94cbf36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Testing/ContinuousIntegration/AzurePipelinesLinuxPython.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
python_executable=`which python3`
9999
python_root_dir=$(dirname $(dirname ${python_executable}))
100100
cat > dashboard.cmake << EOF
101-
set(CTEST_BUILD_CONFIGURATION "MinSizeRel")
101+
set(CTEST_BUILD_CONFIGURATION "Release")
102102
set(CTEST_CMAKE_GENERATOR "Ninja")
103103
set(BUILD_NAME_SUFFIX "-Python")
104104
set(dashboard_cache "

Testing/ContinuousIntegration/AzurePipelinesWindowsPython.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# Note, UsePythonVersion sets PATH to the specified version, so we have to explicitly disable the Windows Registry search in FindPython3
9292
- bash: |
9393
cat > dashboard.cmake << EOF
94-
set(CTEST_BUILD_CONFIGURATION "MinSizeRel")
94+
set(CTEST_BUILD_CONFIGURATION "Release")
9595
set(CTEST_CMAKE_GENERATOR "Ninja")
9696
set(BUILD_NAME_SUFFIX "-Python")
9797
set(ENV{CC} cl.exe)

0 commit comments

Comments
 (0)