mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
Merge pull request #226 from wujysh/patch-1
Fix Windows builds on Azure Pipelines
This commit is contained in:
commit
7a0cdebe7e
1 changed files with 4 additions and 0 deletions
|
@ -18,12 +18,15 @@ jobs:
|
||||||
Debug:
|
Debug:
|
||||||
BuildType: debug
|
BuildType: debug
|
||||||
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON
|
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON
|
||||||
|
MSBuildConfiguration: Debug
|
||||||
Release:
|
Release:
|
||||||
BuildType: release
|
BuildType: release
|
||||||
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release
|
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release
|
||||||
|
MSBuildConfiguration: Release
|
||||||
Secure:
|
Secure:
|
||||||
BuildType: secure
|
BuildType: secure
|
||||||
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release -DMI_SECURE=ON
|
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release -DMI_SECURE=ON
|
||||||
|
MSBuildConfiguration: Release
|
||||||
steps:
|
steps:
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -32,6 +35,7 @@ jobs:
|
||||||
- task: MSBuild@1
|
- task: MSBuild@1
|
||||||
inputs:
|
inputs:
|
||||||
solution: $(BuildType)/libmimalloc.sln
|
solution: $(BuildType)/libmimalloc.sln
|
||||||
|
configuration: '$(MSBuildConfiguration)'
|
||||||
- script: |
|
- script: |
|
||||||
cd $(BuildType)
|
cd $(BuildType)
|
||||||
ctest
|
ctest
|
||||||
|
|
Loading…
Add table
Reference in a new issue