mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
add vs2017 pipeline
This commit is contained in:
parent
1b571aea06
commit
c34f303aa0
1 changed files with 33 additions and 0 deletions
|
@ -8,6 +8,39 @@ trigger:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
jobs:
|
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:
|
- job:
|
||||||
displayName: Windows
|
displayName: Windows
|
||||||
pool:
|
pool:
|
||||||
|
|
Loading…
Add table
Reference in a new issue