From 4e4dcb7db946f095e5fb91e65aefeee1e90006de Mon Sep 17 00:00:00 2001 From: Vincent Rouvreau Date: Wed, 22 May 2019 11:35:32 +0200 Subject: Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines.yml (limited to 'azure-pipelines.yml') 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' -- cgit v1.2.3