-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
44 lines (39 loc) · 912 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
trigger:
batch: true
branches:
include:
- master
paths:
exclude:
- README.md
jobs:
- job: Linux
displayName: linux-latest
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
GCC-8 Debug:
CXX: g++-8
BuildType: Debug
SelfHost: false
GCC-8 Release:
CXX: g++-8
BuildType: Release
SelfHost: false
steps:
- script: |
sudo apt-get update
sudo apt-get install -y libc++-dev libc++abi-dev libc++abi1 libstdc++-8-dev gcc-8 g++-8
sudo apt-get install -y cmake
displayName: 'Install dependencies'
- task: 'CMake@1'
inputs:
cmakeArgs: '.. -DCMAKE_BUILD_TYPE=$(BuildType)'
workingDirectory: build
displayName: 'Cmake generation'
- script: |
make
workingDirectory: build
displayName: 'Build'
failOnStderr: true