add vs2017 pipeline

This commit is contained in:
daan 2020-09-05 22:20:46 -07:00
parent 1b571aea06
commit c34f303aa0

View File

@ -8,6 +8,39 @@ trigger:
- dev
jobs:
- job:
displayName: Windows-2017
pool:
vmImage:
windows-2017
strategy:
matrix:
Debug:
BuildType: debug
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON
MSBuildConfiguration: Debug
Release:
BuildType: release
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release
MSBuildConfiguration: Release
Secure:
BuildType: secure
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release -DMI_SECURE=ON
MSBuildConfiguration: Release
steps:
- task: CMake@1
inputs:
workingDirectory: $(BuildType)
cmakeArgs: .. $(cmakeExtraArgs)
- task: MSBuild@1
inputs:
solution: $(BuildType)/libmimalloc.sln
configuration: '$(MSBuildConfiguration)'
- script: |
cd $(BuildType)
ctest --verbose --timeout 120
displayName: CTest
- job:
displayName: Windows
pool: