Merge pull request #63 from microsoft/CI
Updated the syntax of the Azure pipelines file.
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
resources:
|
trigger:
|
||||||
- repo: self
|
- master
|
||||||
|
|
||||||
phases:
|
pr:
|
||||||
- phase: Linux
|
- master
|
||||||
queue:
|
|
||||||
name: 'Hosted Ubuntu 1604'
|
jobs:
|
||||||
parallel: 5
|
- job:
|
||||||
|
displayName: Linux
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Clang-6 Debug:
|
Clang-6 Debug:
|
||||||
CC: clang-6.0
|
CC: clang-6.0
|
||||||
@@ -82,10 +86,11 @@ phases:
|
|||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
displayName: 'Test'
|
displayName: 'Test'
|
||||||
|
|
||||||
- phase: Windows
|
- job:
|
||||||
queue:
|
displayName: Windows
|
||||||
name: 'Hosted VS2017'
|
pool:
|
||||||
parallel: 5
|
vmImage: 'vs2017-win2016'
|
||||||
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
64-bit Debug:
|
64-bit Debug:
|
||||||
BuildType: Debug
|
BuildType: Debug
|
||||||
@@ -123,10 +128,11 @@ phases:
|
|||||||
workingDirectory: build
|
workingDirectory: build
|
||||||
displayName: 'Run Ctest'
|
displayName: 'Run Ctest'
|
||||||
|
|
||||||
- phase: macOS
|
- job:
|
||||||
queue:
|
displayName: macOS
|
||||||
name: 'Hosted macOS'
|
pool:
|
||||||
parallel: 2
|
vmImage: 'macOS-10.13'
|
||||||
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Debug:
|
Debug:
|
||||||
BuildType: Debug
|
BuildType: Debug
|
||||||
@@ -153,9 +159,10 @@ phases:
|
|||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
displayName: 'Test'
|
displayName: 'Test'
|
||||||
|
|
||||||
- phase: Format
|
- job:
|
||||||
queue:
|
displayName: Format
|
||||||
name: 'Hosted Ubuntu 1604'
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||||
|
|||||||
Reference in New Issue
Block a user