fix azure pipeline script

This commit is contained in:
daan 2019-07-10 22:21:08 -07:00
parent df8f9fc59c
commit a5179d1125

View File

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