Set up CI with Azure Pipelines

Update Azure pipelines to new syntax.
main
David Chisnall 7 years ago
parent 351b0cac0a
commit d8844095f9

@ -1,24 +1,27 @@
resources:
- repo: self
phases:
- phase: Linux
queue:
name: 'Hosted Ubuntu 1604'
parallel: 2
trigger:
- master
- 1.9
pr:
- master
- 1.9
jobs:
- job: Linux
displayName: Ubuntu-16.04
pool:
vmImage: ubuntu-16.04
strategy:
matrix:
Debug:
BuildType: Debug
Release:
BuildType: Release
steps:
- script: |
sudo add-apt-repository deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main
sudo apt-get update
sudo apt-get install -y ninja-build clang-8
- task: CMake@1
inputs:
cmakeArgs: '.. -GNinja -DCMAKE_BUILD_TYPE=$(BuildType) -DTESTS=ON -DCMAKE_CXX_COMPILER=clang++-8 -DCMAKE_C_COMPILER=clang-8'

Loading…
Cancel
Save