diff options
author | Vincent Rouvreau <VincentRouvreau@users.noreply.github.com> | 2019-05-22 11:35:32 +0200 |
---|---|---|
committer | Vincent Rouvreau <VincentRouvreau@users.noreply.github.com> | 2019-05-22 11:35:32 +0200 |
commit | 4e4dcb7db946f095e5fb91e65aefeee1e90006de (patch) | |
tree | b4386aef33096c0f8a9c115c30425c49003a14a2 /azure-pipelines.yml | |
parent | 0c7d6ae4ddb68422e02a48b6a5575c176041d3e4 (diff) |
Set up CI with Azure Pipelines
[skip ci]
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..091035fd --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,34 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: 'vs2017-win2016' + +strategy: + matrix: + x64-Release: + buildPlatform: x64 + buildConfiguration: Release + x64-Debug: + buildPlatform: x64 + buildConfiguration: Debug + +workspace: + clean: all + +steps: + +- task: CMake@1 + inputs: + workingDirectory: 'built\cmake_$(buildPlatform)' + cmakeArgs: '..\.. -G "Visual Studio 15 2017" -A "$(buildPlatform)"' + +- task: CMake@1 + inputs: + workingDirectory: 'built\cmake_$(buildPlatform)' + cmakeArgs: '--build . --target test --config $(buildConfiguration) -- /m' |