blob: 091035fd4f0d92da9e71bbb0409140edcb8ab389 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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'
|