-
Notifications
You must be signed in to change notification settings - Fork 1
291 lines (284 loc) · 9.91 KB
/
ci.yml
File metadata and controls
291 lines (284 loc) · 9.91 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
name: GitHub Actions CI
on:
pull_request:
push:
branches:
- master
- develop
- githubactions*
- feature/**
- fix/**
- pr/**
jobs:
ci:
strategy:
fail-fast: false
matrix:
include:
- name: "COMMENT=docs Job 0"
buildtype: "docs"
packages: "docbook docbook-xml docbook-xsl xsltproc libsaxonhe-java default-jre-headless flex bison rsync"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
comment: "docs"
- name: "COMMENT=valgrind B2_TOOLSET=clang-6.0 B2_CXXS Job 2"
buildtype: "valgrind"
packages: "clang-6.0 libc6-dbg libstdc++-8-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "6.0"
comment: "valgrind"
b2_cxxstd: "11,14"
b2_defines: "BOOST_NO_STRESS_TEST=1"
b2_variant: "debug"
b2_testflags: "testing.launcher=valgrind"
valgrind_opts: "--error-exitcode=1"
- name: "COMMENT=asan B2_VARIANT=debug B2_TOOLSET=clan Job 3"
buildtype: "boost"
packages: "clang-11 libstdc++-9-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "11"
comment: "asan"
b2_variant: "debug"
b2_cxxstd: "17"
b2_asan: "1"
b2_defines: "BOOST_NO_STRESS_TEST=1"
- name: "COMMENT=ubsan B2_VARIANT=debug B2_TOOLSET=cla Job 4"
buildtype: "boost"
packages: "clang-11 libstdc++-9-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "11"
comment: "ubsan"
b2_variant: "debug"
b2_cxxstd: "17"
b2_ubsan: "1"
b2_defines: "BOOST_NO_STRESS_TEST=1"
- name: "B2_TOOLSET=gcc-4.8 B2_CXXSTD=11 Job 9"
buildtype: "boost"
packages: "g++-4.8"
os: "ubuntu-20.04"
container: "ubuntu:14.04"
toolset: "gcc"
toolset_version: "4.8"
b2_cxxstd: "11"
- name: "B2_TOOLSET=gcc-4.9 B2_CXXSTD=11 Job 10"
buildtype: "boost"
packages: "g++-4.9"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "4.9"
b2_cxxstd: "11"
- name: "B2_TOOLSET=gcc-5 B2_CXXSTD=11 Job 11"
buildtype: "boost"
packages: "g++-5"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "5"
b2_cxxstd: "11"
- name: "B2_TOOLSET=gcc-6 B2_CXXSTD=11,14 Job 12"
buildtype: "boost"
packages: "g++-6"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "6"
b2_cxxstd: "11,14"
- name: "B2_TOOLSET=gcc-7 B2_CXXSTD=14,17 Job 13"
buildtype: "boost"
packages: "g++-7"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "7"
b2_cxxstd: "14,17"
- name: "B2_TOOLSET=gcc-8 B2_CXXSTD=17,2a Job 14"
buildtype: "boost"
packages: "g++-8"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "8"
b2_cxxstd: "17,2a"
- name: "B2_TOOLSET=gcc-9 B2_CXXSTD=17,2a Job 15"
buildtype: "boost"
packages: "g++-9"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "9"
b2_cxxstd: "17,2a"
- name: "COMMENT=standalone CXX=g++-9 Job 16"
buildtype: "standalone"
packages: "g++-9"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "gcc"
toolset_version: "9"
comment: "standalone"
- name: "B2_TOOLSET=gcc-10 B2_CXXSTD=17,2a Job 17"
buildtype: "boost"
packages: "g++-10"
os: "ubuntu-20.04"
toolset: "gcc"
toolset_version: "10"
b2_cxxstd: "17,2a"
- name: "COMMENT=standalone CXX=g++-10 Job 18"
buildtype: "standalone"
packages: "g++-10"
os: "ubuntu-20.04"
toolset: "gcc"
toolset_version: "10"
comment: "standalone"
- name: "B2_TOOLSET=clang-3.8 B2_CXXSTD=11 Job 19"
buildtype: "boost"
packages: "clang-3.8"
os: "ubuntu-20.04"
container: "ubuntu:14.04"
toolset: "clang"
toolset_version: "3.8"
b2_cxxstd: "11"
- name: "B2_TOOLSET=clang-4.0 B2_CXXSTD=11,14 Job 20"
buildtype: "boost"
packages: "clang-4.0 libstdc++-6-dev"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "4.0"
b2_cxxstd: "11,14"
- name: "B2_TOOLSET=clang-5.0 B2_CXXSTD=11,14 Job 21"
buildtype: "boost"
packages: "clang-5.0 libstdc++-7-dev"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "5.0"
b2_cxxstd: "11,14"
- name: "B2_TOOLSET=clang-6.0 B2_CXXSTD=14,17 Job 22"
buildtype: "boost"
packages: "clang-6.0 libc6-dbg libstdc++-8-dev"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "6.0"
b2_cxxstd: "14,17"
- name: "B2_TOOLSET=clang-7 B2_CXXSTD=17 Job 23"
buildtype: "boost"
packages: "clang-7"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "7"
b2_cxxstd: "17"
- name: "B2_TOOLSET=clang-8 B2_CXXSTD=17 Job 24"
buildtype: "boost"
packages: "clang-8"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "8"
b2_cxxstd: "17"
- name: "B2_TOOLSET=clang-9 B2_CXXSTD=17,2a Job 25"
buildtype: "boost"
packages: "clang-9 libstdc++-9-dev"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "9"
b2_cxxstd: "17,2a"
- name: "COMMENT=standalone CXX=clang++-9 Job 26"
buildtype: "standalone"
packages: "clang-9 libstdc++-9-dev"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
toolset_version: "9"
comment: "standalone"
- name: "B2_TOOLSET=clang-10 B2_CXXSTD=17,2a Job 27"
buildtype: "boost"
packages: "clang-10 libstdc++-9-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "10"
b2_cxxstd: "17,2a"
- name: "COMMENT=standalone CXX=clang++-10 Job 28"
buildtype: "standalone"
packages: "clang-10 libstdc++-9-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "10"
comment: "standalone"
- name: "B2_TOOLSET=clang-11 B2_CXXSTD=17,2a Job 29"
buildtype: "boost"
packages: "clang-11 libstdc++-9-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "11"
b2_cxxstd: "17,2a"
- name: "COMMENT=standalone CXX=clang++-11 Job 30"
buildtype: "standalone"
packages: "clang-11 libstdc++-9-dev"
os: "ubuntu-18.04"
toolset: "clang"
toolset_version: "11"
comment: "standalone"
- name: "COMMENT=Coverity Scan B2_TOOLSET=clang Job 31"
buildtype: "coverity"
packages: "clang"
os: "ubuntu-20.04"
container: "ubuntu:16.04"
toolset: "clang"
comment: "Coverity Scan"
- name: "msvc-14.1"
buildtype: "boost"
os: "windows-2016"
toolset: "msvc"
toolset_version: "14.1"
b2_cxxstd: "11,14,17"
- name: "msvc-14.1 standalone"
buildtype: "standalone-windows"
os: "windows-2016"
toolset: "msvc"
toolset_version: "14.1"
comment: "standalone"
- name: "msvc-14.2"
buildtype: "boost"
os: "windows-2019"
toolset: "msvc"
toolset_version: "14.2"
b2_cxxstd: "17,latest"
- name: "msvc-14.2 standalone"
buildtype: "standalone-windows"
os: "windows-2019"
toolset: "msvc"
toolset_version: "14.2"
comment: "standalone"
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup-container
with:
container: ${{ matrix.container }}
- uses: ./.github/actions/setup-packages
with:
install: ${{ matrix.packages }}
toolset: ${{ matrix.toolset }}
llvm_version: ${{ matrix.toolset_version }}
- uses: ./.github/actions/build
with:
toolset: ${{ matrix.toolset }}
version: ${{ matrix.toolset_version }}
comment: ${{ matrix.comment }}
buildtype: ${{ matrix.buildtype }}
cxxstd: ${{ matrix.b2_cxxstd }}
defines: ${{ matrix.b2_defines }}
variant: ${{ matrix.b2_variant }}
testflags: ${{ matrix.b2_testflags }}
valgrind_options: ${{ matrix.valgrind_opts }}
asan: ${{ matrix.b2_asan }}
ubsan: ${{ matrix.b2_ubsan }}