From b4d23d3e05e0a3dc725f41c241c46b2b2b97945c Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Fri, 19 Jul 2019 09:56:56 -0400 Subject: [PATCH] BUG: Do not run tests on Azure pipelines The CI system may not have the available graphics context or build configuration. --- test/azure-pipelines.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/azure-pipelines.yml b/test/azure-pipelines.yml index e0f52e2..1f67b3c 100644 --- a/test/azure-pipelines.yml +++ b/test/azure-pipelines.yml @@ -12,28 +12,28 @@ trigger: jobs: -- job: 'Test' - displayName: "Build and test" +- job: 'Build' + displayName: "C++ Build" timeoutInMinutes: 0 cancelTimeoutInMinutes: 300 strategy: matrix: - Linux: - imageName: 'ubuntu-16.04' - cCompiler: gcc - cxxCompiler: g++ - compilerInitialization: '' + #Linux: + #imageName: 'ubuntu-16.04' + #cCompiler: gcc + #cxxCompiler: g++ + #compilerInitialization: '' macOS: imageName: 'macos-10.13' cCompiler: clang cxxCompiler: clang++ compilerInitialization: '' - Windows: - imageName: 'vs2017-win2016' - cCompiler: cl.exe - cxxCompiler: cl.exe - compilerInitialization: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"' + #Windows: + #imageName: 'vs2017-win2016' + #cCompiler: cl.exe + #cxxCompiler: cl.exe + #compilerInitialization: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"' pool: vmImage: $(imageName) @@ -114,7 +114,7 @@ jobs: endif() set(CTEST_BUILD_NAME "$(Build.Repository.Name)-$(Agent.OS)-Build$(Build.BuildId)\${pr}\${branch}") set(CTEST_UPDATE_VERSION_ONLY 1) - set(CTEST_TEST_ARGS \${CTEST_TEST_ARGS} PARALLEL_LEVEL \${PARALLEL_LEVEL}) + set(CTEST_TEST_ARGS \${CTEST_TEST_ARGS} PARALLEL_LEVEL \${PARALLEL_LEVEL} INCLUDE "VTKImageTo") set(CTEST_BUILD_CONFIGURATION "Release") set(CTEST_CMAKE_GENERATOR "Ninja") set(CTEST_CUSTOM_WARNING_EXCEPTION