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