-
Notifications
You must be signed in to change notification settings - Fork 7
/
azure-pipelines.yml
91 lines (85 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
resources:
containers:
- container: linux
image: jaci/azure-native-linux:2018.12.06
options: --cap-add SYS_PTRACE
# ^ Need SYS_PTRACE for Clang ASAN
jobs:
- job: Windows
pool:
vmImage: 'VS2017-Win2016'
variables:
PlatformName: "win"
steps:
- template: azure-init.yml
- template: azure-steps.yml
parameters:
env: { }
- job: macOS
pool:
vmImage: 'macOS-10.13'
variables:
PlatformName: "mac"
steps:
- template: azure-init.yml
- template: azure-steps.yml
parameters:
env: { }
- job: LinuxGCC
pool:
vmImage: 'Ubuntu-16.04'
container: linux
variables:
PlatformName: "linuxGCC"
steps:
- template: azure-steps.yml
parameters:
env: { "CI_COMPILER": "GCC" }
- job: LinuxClang
pool:
vmImage: 'Ubuntu-16.04'
container: linux
variables:
PlatformName: "linuxClang"
steps:
- template: azure-steps.yml
parameters:
env: { "CI_COMPILER": "CLANG" }
- job: LinuxRoboRIO
pool:
vmImage: 'Ubuntu-16.04'
container: linux
variables:
PlatformName: "roborio"
steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
tasks: 'installRoboRioToolchain'
options: '--scan --stacktrace'
- bash: git apply ../bench-athena.patch
workingDirectory: libs/googlebench
- template: azure-steps.yml
parameters:
env: { "CI_COMPILER": "ROBORIO" }
args: '-xcheck'
has_tests: false
- job: LinuxRaspbian
pool:
vmImage: 'Ubuntu-16.04'
container: linux
variables:
PlatformName: "raspbian"
steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
tasks: 'installRaspbianToolchain'
options: '--scan --stacktrace'
- template: azure-steps.yml
parameters:
env: { "CI_COMPILER": "RASPBIAN" }
args: '-xcheck'
has_tests: false