-
Notifications
You must be signed in to change notification settings - Fork 5
/
azure-pipelines.yml
60 lines (57 loc) · 1.37 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: 'CI build'
trigger:
branches:
include:
- master
- feature/*
paths:
exclude:
- README.md
jobs:
- job: windows
pool:
vmImage: 'vs2017-win2016'
steps:
- script: |
mkdir build && cd build/
cmake ../ && cmake --build . && ctest -C Debug --output-on-failure
displayName: "Compiling using Visual Studio 2017"
- job: linux
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
GCC5:
IMAGE: 'conanio/gcc5'
GCC6:
IMAGE: 'conanio/gcc6'
GCC7:
IMAGE: 'conanio/gcc7'
GCC8:
IMAGE: 'conanio/gcc8'
clang4:
IMAGE: 'conanio/clang40'
clang5:
IMAGE: 'conanio/clang50'
clang6:
IMAGE: 'conanio/clang60'
clang7:
IMAGE: 'conanio/clang7'
steps:
- script: docker run --privileged -u root -v "$PWD:/tiny" $(IMAGE) bash -c "cmake /tiny/ && cmake --build . && ctest --output-on-failure"
displayName: "Compiling using $(IMAGE)"
- job: macos
pool:
vmImage: 'macOS-10.13'
strategy:
matrix:
XCode10:
XCODE: '10'
XCode9:
XCODE: '9.4.1'
steps:
- script: |
sudo xcode-select -s /Applications/Xcode_$(XCODE).app/Contents/Developer
mkdir build && cd build/
cmake ../ && cmake --build . && ctest --output-on-failure
displayName: "Compiling using XCode $(XCODE)"