First attempt at adding macOS to CI.
This commit is contained in:
committed by
David Chisnall
parent
6a5359b177
commit
aab4de7bc9
@@ -129,6 +129,30 @@ phases:
|
|||||||
workingDirectory: build
|
workingDirectory: build
|
||||||
displayName: 'Run Ctest'
|
displayName: 'Run Ctest'
|
||||||
|
|
||||||
|
- phase: macOS
|
||||||
|
queue:
|
||||||
|
name: 'Hosted macOS'
|
||||||
|
parallel: 2
|
||||||
|
matrix:
|
||||||
|
Debug:
|
||||||
|
BuildType: Debug
|
||||||
|
Release:
|
||||||
|
BuildType: Release
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: CMake@1
|
||||||
|
displayName: 'CMake .. -DCMAKE_BUILD_TYPE=$(BuildType)'
|
||||||
|
inputs:
|
||||||
|
cmakeArgs: '.. -DCMAKE_BUILD_TYPE=$(BuildType)'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
make -j 4
|
||||||
|
ctest -j 4 --output-on-failure
|
||||||
|
|
||||||
|
workingDirectory: build
|
||||||
|
failOnStderr: true
|
||||||
|
displayName: 'Compile & Test'
|
||||||
|
|
||||||
- phase: Format
|
- phase: Format
|
||||||
queue:
|
queue:
|
||||||
name: 'Hosted Ubuntu 1604'
|
name: 'Hosted Ubuntu 1604'
|
||||||
|
|||||||
Reference in New Issue
Block a user