diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in index c775cccdbbf..a38566fd04e 100644 --- a/CMake/CTestCustom.cmake.in +++ b/CMake/CTestCustom.cmake.in @@ -132,6 +132,30 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION # ignore some third party warnings ".*Modules/ThirdParty/.*warning:.*Wzero-as-null-pointer-constant" ".*Modules/ThirdParty/Eigen3/.*warning:.*" + # MSVC emits "warning C####:" rather than "warning:"; cover that form too + # so Eigen-internal MSVC warnings (e.g. C4750 from + # Eigenvalues/Tridiagonalization.h, "function with _alloca() inlined into + # a loop") do not fail the dashboard. + ".*Modules.ThirdParty.Eigen3.*warning C[0-9]+:.*" + # GCC IPA-CP cloning produces -Wmaybe-uninitialized false positives in + # Core/products/SelfadjointMatrixVector.h at -O3 + C++20 on Ubuntu 24.04 + # (and matching ARM toolchains); the multi-line "note: by argument N of + # type ... declared here" continuation also lives in Eigen3 paths. + # The 'warning:' wildcard above already covers the primary line; this + # extra pattern silences GCC's path-less continuation lines that the + # reporter associates with the same Eigen file. + ".*Modules/ThirdParty/Eigen3/.*note:.*" + # Apple clang on macOS does not recognise GCC's -Wmaybe-uninitialized + # warning group, so every use of ITK_GCC_SUPPRESS_Wmaybe_uninitialized + # in itkMacro.h emits a four-line diagnostic burst (warning + three + # macro-expansion notes per site). At ~50 use-sites that's ~200 + # warnings on a single Darwin Python build, which exceeds the dashboard + # ceiling. Suppressing the four lines individually keeps any genuine + # -Wunknown-warning-option diagnostic from a non-Wmaybe context still + # visible. + "warning: unknown warning group '-Wmaybe-uninitialized'" + "note: expanded from macro 'ITK_GCC_SUPPRESS_Wmaybe_uninitialized'" + "note: expanded from macro 'ITK_PRAGMA'" # CircleCI distcc warnings ".*WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED.*" diff --git a/Testing/ContinuousIntegration/AzurePipelinesLinux.yml b/Testing/ContinuousIntegration/AzurePipelinesLinux.yml index 5626176f0f4..55b41de7a8f 100644 --- a/Testing/ContinuousIntegration/AzurePipelinesLinux.yml +++ b/Testing/ContinuousIntegration/AzurePipelinesLinux.yml @@ -34,11 +34,11 @@ variables: CCACHE_NOHASHDIR: 'true' CCACHE_SLOPPINESS: pch_defines,time_macros jobs: -- job: Linux +- job: LinuxLegacyRemovedCxx20 timeoutInMinutes: 0 cancelTimeoutInMinutes: 300 pool: - vmImage: ubuntu-22.04 + vmImage: ubuntu-24.04 steps: - checkout: self clean: true @@ -80,9 +80,9 @@ jobs: - task: Cache@2 inputs: - key: '"ccache-v4" | "$(Agent.OS)" | "Linux" | "$(Build.SourceVersion)"' + key: '"ccache-v4" | "$(Agent.OS)" | "LinuxLegacyRemovedCxx20" | "$(Build.SourceVersion)"' restoreKeys: | - "ccache-v4" | "$(Agent.OS)" | "Linux" + "ccache-v4" | "$(Agent.OS)" | "LinuxLegacyRemovedCxx20" path: $(CCACHE_DIR) displayName: 'Restore ccache' @@ -97,116 +97,13 @@ jobs: cat > dashboard.cmake << EOF set(CTEST_BUILD_CONFIGURATION "MinSizeRel") set(CTEST_CMAKE_GENERATOR "Ninja") - set(dashboard_cache " - BUILD_SHARED_LIBS:BOOL=OFF - BUILD_EXAMPLES:BOOL=OFF - ITK_WRAP_PYTHON:BOOL=OFF - CMAKE_C_COMPILER_LAUNCHER:STRING=ccache - CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache - ITK_COMPUTER_MEMORY_SIZE:STRING=4.5 - ") - set(CTEST_TEST_ARGS EXCLUDE_LABEL BigIO) # Disabled to conserve disk space - include(\$ENV{AGENT_BUILDDIRECTORY}/ITK-dashboard/azure_dashboard.cmake) - EOF - cat dashboard.cmake - workingDirectory: $(Agent.BuildDirectory)/ITK-dashboard - displayName: 'Configure CTest script' - - - bash: | - set -x - - c++ --version - cmake --version - - ctest -S $(Agent.BuildDirectory)/ITK-dashboard/dashboard.cmake -V -j 2 - displayName: 'Build and test' - env: - CTEST_OUTPUT_ON_FAILURE: 1 - CCACHE_MAXSIZE: 2.4G - - - bash: ccache --show-stats - condition: always() - displayName: 'ccache stats' - - - bash: python3 $(Build.SourcesDirectory)/Testing/ContinuousIntegration/report_build_diagnostics.py $(Build.SourcesDirectory)-build - condition: succeededOrFailed() - displayName: 'Report build warnings and errors' - - - script: | - ci_addons ctest_junit_formatter $(Build.SourcesDirectory)-build > $(Agent.BuildDirectory)/JUnitTestResults.xml - condition: succeededOrFailed() - displayName: 'Format CTest output in JUnit format' - - - task: PublishTestResults@2 - inputs: - testResultsFiles: "$(Agent.BuildDirectory)/JUnitTestResults.xml" - testRunTitle: 'CTest $(Agent.OS)' - condition: succeededOrFailed() - displayName: 'Publish test results' - -- job: LinuxLegacyRemoved - timeoutInMinutes: 0 - cancelTimeoutInMinutes: 300 - pool: - vmImage: ubuntu-22.04 - steps: - - checkout: self - clean: true - fetchDepth: 5 - - bash: | - set -x - if [ -n "$(System.PullRequest.SourceCommitId)" ]; then - git checkout $(System.PullRequest.SourceCommitId) - fi - displayName: 'Checkout pull request HEAD' - - - bash: | - set -x - sudo pip3 install ninja - sudo apt-get update - sudo apt-get install -y python3-venv ccache locales - sudo locale-gen de_DE.UTF-8 - sudo python3 -m pip install lxml scikit-ci-addons - displayName: 'Install dependencies' - - - bash: | - set -x - git clone -b dashboard --single-branch https://github.com/InsightSoftwareConsortium/ITK.git ITK-dashboard - workingDirectory: $(Agent.BuildDirectory) - displayName: 'Download dashboard script' - - - task: Cache@2 - inputs: - key: '"externaldata" | "v1" | **/*.cid' - restoreKeys: | - "externaldata" | "v1" - path: $(ExternalData_OBJECT_STORES) - displayName: 'Restore ExternalData object store' - - - task: Cache@2 - inputs: - key: '"ccache-v4" | "$(Agent.OS)" | "LinuxLegacyRemoved" | "$(Build.SourceVersion)"' - restoreKeys: | - "ccache-v4" | "$(Agent.OS)" | "LinuxLegacyRemoved" - path: $(CCACHE_DIR) - displayName: 'Restore ccache' - - - bash: | - set -x - ccache --zero-stats - ccache --evict-older-than 7d - ccache --show-config - displayName: 'ccache config and maintenance' - - - bash: | - cat > dashboard.cmake << EOF - set(CTEST_BUILD_CONFIGURATION "MinSizeRel") - set(CTEST_CMAKE_GENERATOR "Ninja") - set(BUILD_NAME_SUFFIX "LegacyRemoved") + set(BUILD_NAME_SUFFIX "LegacyRemovedCxx20") set(dashboard_cache " ITK_LEGACY_REMOVE:BOOL=ON + CMAKE_CXX_STANDARD:STRING=20 + CMAKE_CXX_STANDARD_REQUIRED:BOOL=ON BUILD_SHARED_LIBS:BOOL=OFF - BUILD_EXAMPLES:BOOL=OFF + BUILD_EXAMPLES:BOOL=ON ITK_WRAP_PYTHON:BOOL=OFF CMAKE_C_COMPILER_LAUNCHER:STRING=ccache CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache @@ -247,112 +144,6 @@ jobs: - task: PublishTestResults@2 inputs: testResultsFiles: "$(Agent.BuildDirectory)/JUnitTestResults.xml" - testRunTitle: 'CTest $(Agent.OS) LegacyRemoved' + testRunTitle: 'CTest $(Agent.OS) LegacyRemovedCxx20' condition: succeededOrFailed() displayName: 'Publish test results' - -- job: LinuxCxx20 - timeoutInMinutes: 0 - cancelTimeoutInMinutes: 300 - pool: - vmImage: ubuntu-24.04 - steps: - - checkout: self - clean: true - fetchDepth: 5 - - bash: | - set -x - if [ -n "$(System.PullRequest.SourceCommitId)" ]; then - git checkout $(System.PullRequest.SourceCommitId) - fi - displayName: "Checkout pull request HEAD" - - task: UsePythonVersion@0 - inputs: - versionSpec: "3.10" - architecture: "x64" - - bash: | - set -x - sudo pip3 install ninja - sudo apt-get update - sudo apt-get install -y python3-venv ccache locales - sudo locale-gen de_DE.UTF-8 - sudo python3 -m pip install lxml scikit-ci-addons - displayName: "Install dependencies" - - bash: | - set -x - git clone -b dashboard --single-branch https://github.com/InsightSoftwareConsortium/ITK.git ITK-dashboard - workingDirectory: $(Agent.BuildDirectory) - displayName: "Download dashboard script" - - - task: Cache@2 - inputs: - key: '"externaldata" | "v1" | **/*.cid' - restoreKeys: | - "externaldata" | "v1" - path: $(ExternalData_OBJECT_STORES) - displayName: 'Restore ExternalData object store' - - - task: Cache@2 - inputs: - key: '"ccache-v4" | "$(Agent.OS)" | "LinuxCxx20" | "$(Build.SourceVersion)"' - restoreKeys: | - "ccache-v4" | "$(Agent.OS)" | "LinuxCxx20" - path: $(CCACHE_DIR) - displayName: 'Restore ccache' - - - bash: | - set -x - ccache --zero-stats - ccache --evict-older-than 7d - ccache --show-config - displayName: 'ccache config and maintenance' - - - bash: | - cat > dashboard.cmake << EOF - set(CTEST_BUILD_CONFIGURATION "MinSizeRel") - set(CTEST_CMAKE_GENERATOR "Ninja") - set(BUILD_NAME_SUFFIX "Cxx20") - set(dashboard_cache " - CMAKE_CXX_STANDARD:STRING=20 - CMAKE_CXX_STANDARD_REQUIRED:BOOL=ON - BUILD_SHARED_LIBS:BOOL=OFF - BUILD_EXAMPLES:BOOL=OFF - ITK_WRAP_PYTHON:BOOL=OFF - CMAKE_C_COMPILER_LAUNCHER:STRING=ccache - CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache - ITK_COMPUTER_MEMORY_SIZE:STRING=4.5 - ") - set(CTEST_TEST_ARGS EXCLUDE_LABEL BigIO) # Disabled to conserve disk space - include(\$ENV{AGENT_BUILDDIRECTORY}/ITK-dashboard/azure_dashboard.cmake) - EOF - cat dashboard.cmake - workingDirectory: $(Agent.BuildDirectory)/ITK-dashboard - displayName: "Configure CTest script" - - bash: | - set -x - c++ --version - cmake --version - ctest -S $(Agent.BuildDirectory)/ITK-dashboard/dashboard.cmake -V -j 2 - displayName: "Build and test" - env: - CTEST_OUTPUT_ON_FAILURE: 1 - CCACHE_MAXSIZE: 2.4G - - - bash: ccache --show-stats - condition: always() - displayName: 'ccache stats' - - - bash: python3 $(Build.SourcesDirectory)/Testing/ContinuousIntegration/report_build_diagnostics.py $(Build.SourcesDirectory)-build - condition: succeededOrFailed() - displayName: 'Report build warnings and errors' - - - script: | - ci_addons ctest_junit_formatter $(Build.SourcesDirectory)-build > $(Agent.BuildDirectory)/JUnitTestResults.xml - condition: succeededOrFailed() - displayName: "Format CTest output in JUnit format" - - task: PublishTestResults@2 - inputs: - testResultsFiles: "$(Agent.BuildDirectory)/JUnitTestResults.xml" - testRunTitle: "CTest $(Agent.OS) Cxx20" - condition: succeededOrFailed() - displayName: "Publish test results" diff --git a/Testing/ContinuousIntegration/AzurePipelinesLinuxPython.yml b/Testing/ContinuousIntegration/AzurePipelinesLinuxPython.yml index 0b59426c8ae..b1e15afbfbe 100644 --- a/Testing/ContinuousIntegration/AzurePipelinesLinuxPython.yml +++ b/Testing/ContinuousIntegration/AzurePipelinesLinuxPython.yml @@ -98,7 +98,7 @@ jobs: python_executable=`which python3` python_root_dir=$(dirname $(dirname ${python_executable})) cat > dashboard.cmake << EOF - set(CTEST_BUILD_CONFIGURATION "MinSizeRel") + set(CTEST_BUILD_CONFIGURATION "Release") set(CTEST_CMAKE_GENERATOR "Ninja") set(BUILD_NAME_SUFFIX "-Python") set(dashboard_cache " diff --git a/Testing/ContinuousIntegration/AzurePipelinesMacOS.yml b/Testing/ContinuousIntegration/AzurePipelinesMacOS.yml deleted file mode 100644 index 071b7aedfe5..00000000000 --- a/Testing/ContinuousIntegration/AzurePipelinesMacOS.yml +++ /dev/null @@ -1,151 +0,0 @@ -name: ITK.macOS - -trigger: - branches: - include: - - main - - release* - paths: - exclude: - - '*.md' - - LICENSE - - NOTICE - - Documentation/* - - Utilities/Debugger/* - - Utilities/ITKv5Preparation/* - - Utilities/Maintenance/* - - Modules/Remote/*.remote.cmake -pr: - paths: - exclude: - - '*.md' - - LICENSE - - NOTICE - - Documentation/* - - Utilities/Debugger/* - - Utilities/ITKv5Preparation/* - - Utilities/Maintenance/* - - Modules/Remote/*.remote.cmake -variables: - ExternalData_OBJECT_STORES: $(Pipeline.Workspace)/ExternalData - CCACHE_DIR: $(Pipeline.Workspace)/.ccache - CCACHE_BASEDIR: $(Build.SourcesDirectory) - CCACHE_COMPILERCHECK: content - CCACHE_NOHASHDIR: 'true' - CCACHE_SLOPPINESS: pch_defines,time_macros -jobs: -- job: macOS - timeoutInMinutes: 0 - cancelTimeoutInMinutes: 300 - pool: - vmImage: macos-15 - steps: - - checkout: self - clean: true - fetchDepth: 5 - - bash: | - set -x - if [ -n "$(System.PullRequest.SourceCommitId)" ]; then - git checkout $(System.PullRequest.SourceCommitId) - fi - displayName: Checkout pull request HEAD - - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.10' - architecture: 'x64' - - - bash: | - set -x - # Remove Homebrew LLVM to prevent its libunwind from - # shadowing the system libunwind and producing linker warnings. - # See https://github.com/actions/runner-images/issues/13816 - llvm_pkgs=$(brew ls -1 | grep llvm || true) - if [ -n "$llvm_pkgs" ]; then - brew uninstall --ignore-dependencies $llvm_pkgs - fi - sudo python3 -m pip install ninja - sudo python3 -m pip install --upgrade setuptools - sudo python3 -m pip install scikit-ci-addons - sudo python3 -m pip install lxml - brew install ccache - displayName: Install dependencies - - - bash: | - set -x - git clone -b dashboard --single-branch https://github.com/InsightSoftwareConsortium/ITK.git ITK-dashboard - workingDirectory: $(Agent.BuildDirectory) - displayName: 'Download dashboard script' - - - task: Cache@2 - inputs: - key: '"externaldata" | "v1" | **/*.cid' - restoreKeys: | - "externaldata" | "v1" - path: $(ExternalData_OBJECT_STORES) - displayName: 'Restore ExternalData object store' - - - task: Cache@2 - inputs: - key: '"ccache-v4" | "$(Agent.OS)" | "macOS" | "$(Build.SourceVersion)"' - restoreKeys: | - "ccache-v4" | "$(Agent.OS)" | "macOS" - path: $(CCACHE_DIR) - displayName: 'Restore ccache' - - - bash: | - set -x - ccache --zero-stats - ccache --evict-older-than 7d - ccache --show-config - displayName: 'ccache config and maintenance' - - - bash: | - cat > dashboard.cmake << EOF - set(CTEST_BUILD_CONFIGURATION "Release") - set(CTEST_CMAKE_GENERATOR "Ninja") - set(dashboard_cache " - BUILD_SHARED_LIBS:BOOL=ON - BUILD_EXAMPLES:BOOL=ON - ITK_WRAP_PYTHON:BOOL=OFF - CMAKE_C_COMPILER_LAUNCHER:STRING=ccache - CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache - ITK_COMPUTER_MEMORY_SIZE:STRING=11 - ") - include(\$ENV{AGENT_BUILDDIRECTORY}/ITK-dashboard/azure_dashboard.cmake) - EOF - cat dashboard.cmake - workingDirectory: $(Agent.BuildDirectory)/ITK-dashboard - displayName: 'Configure CTest script' - - - bash: | - set -x - - c++ --version - cmake --version - - ctest -S $(Agent.BuildDirectory)/ITK-dashboard/dashboard.cmake -V -j 3 - displayName: 'Build and test' - env: - CTEST_OUTPUT_ON_FAILURE: 1 - CCACHE_MAXSIZE: 2.4G - - - bash: ccache --show-stats - condition: always() - displayName: 'ccache stats' - - - bash: python3 $(Build.SourcesDirectory)/Testing/ContinuousIntegration/report_build_diagnostics.py $(Build.SourcesDirectory)-build - condition: succeededOrFailed() - displayName: 'Report build warnings and errors' - - - script: | - ci_addons ctest_junit_formatter $(Build.SourcesDirectory)-build > $(Agent.BuildDirectory)/JUnitTestResults.xml - condition: succeededOrFailed() - displayName: 'Format CTest output in JUnit format' - - - task: PublishTestResults@2 - inputs: - testResultsFiles: "$(Agent.BuildDirectory)/JUnitTestResults.xml" - testRunTitle: 'CTest $(Agent.OS)' - condition: succeededOrFailed() - displayName: 'Publish test results' diff --git a/Testing/ContinuousIntegration/AzurePipelinesMacOSPython.yml b/Testing/ContinuousIntegration/AzurePipelinesMacOSPython.yml index 8c6e71a5b9c..951e9403257 100644 --- a/Testing/ContinuousIntegration/AzurePipelinesMacOSPython.yml +++ b/Testing/ContinuousIntegration/AzurePipelinesMacOSPython.yml @@ -53,7 +53,7 @@ jobs: - task: UsePythonVersion@0 inputs: - versionSpec: '3.10' + versionSpec: '3.12' architecture: 'x64' - bash: | @@ -113,7 +113,7 @@ jobs: Python3_ROOT_DIR:PATH=${python_root_dir} Python3_EXECUTABLE:FILEPATH=${python_executable} DISABLE_MODULE_TESTS:BOOL=ON - BUILD_SHARED_LIBS:BOOL=OFF + BUILD_SHARED_LIBS:BOOL=ON BUILD_EXAMPLES:BOOL=OFF ITK_WRAP_PYTHON:BOOL=ON CMAKE_C_COMPILER_LAUNCHER:STRING=ccache diff --git a/Testing/ContinuousIntegration/AzurePipelinesWindows.yml b/Testing/ContinuousIntegration/AzurePipelinesWindows.yml deleted file mode 100644 index ebf198539d0..00000000000 --- a/Testing/ContinuousIntegration/AzurePipelinesWindows.yml +++ /dev/null @@ -1,138 +0,0 @@ -name: ITK.Windows - -trigger: - branches: - include: - - main - - release* - paths: - exclude: - - '*.md' - - LICENSE - - NOTICE - - Documentation/* - - Utilities/Debugger/* - - Utilities/ITKv5Preparation/* - - Utilities/Maintenance/* - - Modules/Remote/*.remote.cmake -pr: - paths: - exclude: - - '*.md' - - LICENSE - - NOTICE - - Documentation/* - - Utilities/Debugger/* - - Utilities/ITKv5Preparation/* - - Utilities/Maintenance/* - - Modules/Remote/*.remote.cmake -variables: - ExternalData_OBJECT_STORES: $(Pipeline.Workspace)/ExternalData - CCACHE_DIR: $(Pipeline.Workspace)/.ccache - CCACHE_BASEDIR: $(Build.SourcesDirectory) - CCACHE_COMPILERCHECK: content - CCACHE_NOHASHDIR: 'true' - CCACHE_SLOPPINESS: pch_defines,time_macros -jobs: -- job: Windows - timeoutInMinutes: 0 - cancelTimeoutInMinutes: 300 - pool: - vmImage: 'windows-2022' - steps: - - checkout: self - clean: true - fetchDepth: 5 - - - script: | - if DEFINED SYSTEM_PULLREQUEST_SOURCECOMMITID git checkout $(System.PullRequest.SourceCommitId) - displayName: Checkout pull request HEAD - - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.10' - architecture: 'x64' - - - script: | - pip3 install ninja - pip3 install --upgrade setuptools - pip3 install scikit-ci-addons lxml - choco install ccache -y - displayName: 'Install dependencies' - - - script: | - git clone -b dashboard --single-branch https://github.com/InsightSoftwareConsortium/ITK.git ITK-dashboard - workingDirectory: $(Agent.BuildDirectory) - displayName: 'Download dashboard script' - - - task: Cache@2 - inputs: - key: '"externaldata" | "v1" | **/*.cid' - restoreKeys: | - "externaldata" | "v1" - path: $(ExternalData_OBJECT_STORES) - displayName: 'Restore ExternalData object store' - - - task: Cache@2 - inputs: - key: '"ccache-v4" | "$(Agent.OS)" | "Windows" | "$(Build.SourceVersion)"' - restoreKeys: | - "ccache-v4" | "$(Agent.OS)" | "Windows" - path: $(CCACHE_DIR) - displayName: 'Restore ccache' - - - bash: | - set -x - ccache --zero-stats - ccache --evict-older-than 7d - ccache --show-config - displayName: 'ccache config and maintenance' - - - bash: | - cat > dashboard.cmake << EOF - set(CTEST_BUILD_CONFIGURATION "MinSizeRel") - set(CTEST_CMAKE_GENERATOR "Ninja") - set(ENV{CC} cl.exe) - set(ENV{CXX} cl.exe) - set(dashboard_cache " - BUILD_SHARED_LIBS:BOOL=ON - BUILD_EXAMPLES:BOOL=OFF - ITK_WRAP_PYTHON:BOOL=OFF - CMAKE_C_COMPILER_LAUNCHER:STRING=ccache - CMAKE_CXX_COMPILER_LAUNCHER:STRING=ccache - ITK_COMPUTER_MEMORY_SIZE:STRING=4.5 - ") - include(\$ENV{AGENT_BUILDDIRECTORY}/ITK-dashboard/azure_dashboard.cmake) - EOF - cat dashboard.cmake - workingDirectory: $(Agent.BuildDirectory)/ITK-dashboard - displayName: 'Configure CTest script' - - - script: | - cmake --version - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - ctest -S $(Agent.BuildDirectory)/ITK-dashboard/dashboard.cmake -V -j 2 - displayName: 'Build and test' - env: - CTEST_OUTPUT_ON_FAILURE: 1 - CCACHE_MAXSIZE: 2.4G - - - bash: ccache --show-stats - condition: always() - displayName: 'ccache stats' - - - script: python $(Build.SourcesDirectory)/Testing/ContinuousIntegration/report_build_diagnostics.py $(Build.SourcesDirectory)-build - condition: succeededOrFailed() - displayName: 'Report build warnings and errors' - - - script: | - ci_addons ctest_junit_formatter $(Build.SourcesDirectory)-build > $(Agent.BuildDirectory)/JUnitTestResults.xml - condition: succeededOrFailed() - displayName: 'Format CTest output in JUnit format' - - - task: PublishTestResults@2 - inputs: - testResultsFiles: "$(Agent.BuildDirectory)/JUnitTestResults.xml" - testRunTitle: 'CTest $(Agent.OS)' - condition: succeededOrFailed() - displayName: 'Publish test results' diff --git a/Testing/ContinuousIntegration/AzurePipelinesWindowsPython.yml b/Testing/ContinuousIntegration/AzurePipelinesWindowsPython.yml index b2544460385..4f4a7fb8ccf 100644 --- a/Testing/ContinuousIntegration/AzurePipelinesWindowsPython.yml +++ b/Testing/ContinuousIntegration/AzurePipelinesWindowsPython.yml @@ -91,7 +91,7 @@ jobs: # Note, UsePythonVersion sets PATH to the specified version, so we have to explicitly disable the Windows Registry search in FindPython3 - bash: | cat > dashboard.cmake << EOF - set(CTEST_BUILD_CONFIGURATION "MinSizeRel") + set(CTEST_BUILD_CONFIGURATION "Release") set(CTEST_CMAKE_GENERATOR "Ninja") set(BUILD_NAME_SUFFIX "-Python") set(ENV{CC} cl.exe)