diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-05-22 22:23:46 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-05-22 22:23:46 +0200 |
commit | 8afbdce4e57c18b3d7b8075d5711f669516e633c (patch) | |
tree | 728bd271f17927a12f75c9e966ada8ec867cad33 /azure-pipelines.yml | |
parent | 4e4dcb7db946f095e5fb91e65aefeee1e90006de (diff) |
Try to fix compilation
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 091035fd..e643d349 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,6 +10,7 @@ pool: vmImage: 'vs2017-win2016' strategy: + maxParallel: 2 matrix: x64-Release: buildPlatform: x64 @@ -24,11 +25,18 @@ workspace: steps: - task: CMake@1 + displayName: 'CMake' inputs: - workingDirectory: 'built\cmake_$(buildPlatform)' - cmakeArgs: '..\.. -G "Visual Studio 15 2017" -A "$(buildPlatform)"' + workingDirectory: 'build' + cmakeArgs: '..\.. -G "Visual Studio 15 2017 Win64"' -- task: CMake@1 +- task: MSBuild@1 + displayName: 'Build solution GUDHIdev.sln' inputs: - workingDirectory: 'built\cmake_$(buildPlatform)' - cmakeArgs: '--build . --target test --config $(buildConfiguration) -- /m' + workingDirectory: 'build' + solution: 'GUDHIdev.sln' + msbuildArguments: '/m /p:Configuration=$(buildConfiguration) /p:Platform=$(buildPlatform)' + +- script: 'ctest -j 1 --interactive-debug-mode 0 --output-on-failure -C $(buildConfiguration) -R "in_memory"' + workingDirectory: 'build' + displayName: 'Run Ctest' |