mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-26 21:04:27 +08:00
fix azure pipeline script
This commit is contained in:
parent
df8f9fc59c
commit
a5179d1125
@ -33,20 +33,28 @@ jobs:
|
||||
matrix:
|
||||
Debug:
|
||||
CC: gcc
|
||||
BuildType: Debug
|
||||
BuildType: debug
|
||||
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_CHECK_FULL=ON
|
||||
Release:
|
||||
CC: gcc
|
||||
BuildType: Release
|
||||
BuildType: release
|
||||
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
steps:
|
||||
- task: CMake@1
|
||||
inputs:
|
||||
workingDirectory: $(BuildType)
|
||||
cmakeArgs: ..
|
||||
- script: make -j$(nproc) -C $(BuildType)
|
||||
- script: ctest -C $(BuildType)
|
||||
cmakeArgs: .. $(cmakeExtraArgs)
|
||||
|
||||
- script: make -j$(nproc)
|
||||
workingDirectory: $(BuildType)
|
||||
|
||||
- script: ctest
|
||||
failOnStderr: true
|
||||
workingDirectory: $(BuildType)
|
||||
|
||||
- upload: $(Build.SourcesDirectory)/$(BuildType)
|
||||
artifact: ubuntu
|
||||
artifact: ubuntu-$(BuildType)
|
||||
|
||||
- job:
|
||||
displayName: macOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user