summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-05-23 14:13:07 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-05-23 14:13:07 +0200
commitcd4f1787b07017154a88adfd0408af853d99833c (patch)
tree93765c8cf8c316dd1fab926f5e11fdc42ef75f7c /azure-pipelines.yml
parent646768e0715bd17e4eb2676db010be9504409ad2 (diff)
Add tests, example, utils and python strategies
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml34
1 files changed, 24 insertions, 10 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 0761d9c4..b7c920cf 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -10,14 +10,28 @@ pool:
vmImage: 'vs2017-win2016'
strategy:
- maxParallel: 2
+ maxParallel: 4
matrix:
- x64-Release:
- buildPlatform: x64
- buildConfiguration: Release
- x64-Debug:
- buildPlatform: x64
- buildConfiguration: Debug
+ Examples:
+ cmakeExample: ON
+ cmakeTest: OFF
+ cmakeUtil: OFF
+ cmakePython: OFF
+ Unitary-tests:
+ cmakeExample: OFF
+ cmakeTest: ON
+ cmakeUtil: OFF
+ cmakePython: OFF
+ Utilities:
+ cmakeExample: OFF
+ cmakeTest: OFF
+ cmakeUtil: ON
+ cmakePython: OFF
+ Python-module:
+ cmakeExample: OFF
+ cmakeTest: OFF
+ cmakeUtil: OFF
+ cmakePython: ON
workspace:
clean: all
@@ -38,15 +52,15 @@ steps:
displayName: 'CMake'
inputs:
workingDirectory: 'build'
- cmakeArgs: '.. -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake"'
+ cmakeArgs: '.. -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DWITH_GUDHI_EXAMPLE=$(cmakeExample) -DWITH_GUDHI_TEST=$(cmakeTest) -DWITH_GUDHI_UTILITIES=$(cmakeUtil) -DWITH_GUDHI_PYTHON=$(cmakePython)'
- task: MSBuild@1
displayName: 'Build solution GUDHIdev.sln'
inputs:
workingDirectory: 'build'
solution: 'build/GUDHIdev.sln'
- msbuildArguments: '/m /p:Configuration=$(buildConfiguration) /p:Platform=$(buildPlatform)'
+ msbuildArguments: '/m /p:Configuration=$(buildConfiguration) /p:Platform=x64'
-- script: 'ctest -j 1 --interactive-debug-mode 0 --output-on-failure -C $(buildConfiguration) -R "in_memory"'
+- script: 'ctest'
workingDirectory: 'build'
displayName: 'Run Ctest'