Add test to build pipeline

This commit is contained in:
daan 2019-07-10 22:13:34 -07:00
parent 34a4de01b1
commit df8f9fc59c

View File

@ -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: