mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-26 21:04:27 +08:00
Add test to build pipeline
This commit is contained in:
parent
34a4de01b1
commit
df8f9fc59c
@ -23,19 +23,31 @@ jobs:
|
||||
solution: build/libmimalloc.sln
|
||||
- upload: $(Build.SourcesDirectory)/build
|
||||
artifact: windows
|
||||
|
||||
- job:
|
||||
displayName: Linux
|
||||
pool:
|
||||
vmImage:
|
||||
ubuntu-16.04
|
||||
strategy:
|
||||
matrix:
|
||||
Debug:
|
||||
CC: gcc
|
||||
BuildType: Debug
|
||||
Release:
|
||||
CC: gcc
|
||||
BuildType: Release
|
||||
|
||||
steps:
|
||||
- task: CMake@1
|
||||
inputs:
|
||||
workingDirectory: 'build'
|
||||
workingDirectory: $(BuildType)
|
||||
cmakeArgs: ..
|
||||
- script: make -j$(nproc) -C build
|
||||
- upload: $(Build.SourcesDirectory)/build
|
||||
- script: make -j$(nproc) -C $(BuildType)
|
||||
- script: ctest -C $(BuildType)
|
||||
- upload: $(Build.SourcesDirectory)/$(BuildType)
|
||||
artifact: ubuntu
|
||||
|
||||
- job:
|
||||
displayName: macOS
|
||||
pool:
|
||||
|
Loading…
x
Reference in New Issue
Block a user