-
Notifications
You must be signed in to change notification settings - Fork 787
/
.gitlab-ci.yml
161 lines (124 loc) · 2.87 KB
/
.gitlab-ci.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
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
## Nano CI config
image: ubuntu:xenial
stages:
- build
- test
variables:
GIT_SUBMODULE_STRATEGY: recursive
.linux_template: &linux_cfg
variables:
BOOST_ROOT: /usr/local/boost
CC: clang
CXX: clang++
artifacts:
expire_in: 2d
paths:
- build*/*.tar*
- build*/*_test
- csa_results
- build*/SHA1SUMS
script:
- ./ci/build-gitlab.sh
Arch Linux:
<<: *linux_cfg
stage: build
image: base/devel:latest
before_script:
- pacman --noconfirm -Syu qt5-tools xorg-server-xvfb clang clang-tools-extra cmake boost boost-libs ninja lsb-release
script:
- mkdir -p csa_results/
- scan-build -o csa_results/ ./ci/build-gitlab.sh
# Disabled, dependency on newer Qt than avail
.Ubuntu Linux Trusty:
<<: *linux_cfg
stage: build
image: ubuntu:trusty
variables:
CC: gcc
CXX: g++
FLAVOR: trusty
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
Ubuntu Linux Artful:
<<: *linux_cfg
stage: build
image: ubuntu:artful
variables:
FLAVOR: artful
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
Ubuntu Linux Xenial:
<<: *linux_cfg
stage: build
image: ubuntu:xenial
variables:
FLAVOR: xenial
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
Ubuntu Linux Xenial Beta:
<<: *linux_cfg
stage: build
image: ubuntu:xenial
variables:
FLAVOR: xenial
BETA: 1
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
Xenial OPTIMIZED:
<<: *linux_cfg
stage: build
image: ubuntu:xenial
variables:
FLAVOR: xenial
SIMD: 1
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
Artful OPTIMIZED:
<<: *linux_cfg
stage: build
image: ubuntu:artful
variables:
FLAVOR: artful
SIMD: 1
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
# DISABLED for now
.Ubuntu Linux:ASAN:
<<: *linux_cfg
stage: build
variables:
ASAN: 1
FLAVOR: zesty_asan
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
# DISABLED for now
.Ubuntu Linux:TSAN:
<<: *linux_cfg
stage: build
variables:
TSAN: 1
FLAVOR: zesty_tsan
before_script:
- ./util/build_prep/update-common && ./util/build_prep/ubuntu/prep.sh
# DISABLED: Shared runners avail for gitlab CI
# don't include OS X
.OS X:
stage: build
variables:
CC: clang
CXX: clang++
tags:
- clang
- osx
script:
- ./ci/build-gitlab.sh
# DISABLED for now
.Alpine Linux:
stage: build
image: alpine:latest
variables:
BUSYBOX_BASH: 1
before_script:
- apk add --update alpine-sdk autoconf automake libtool clang-dev cmake ninja qt5-qtbase-dev qt5-qttools-dev boost-dev ttf-freefont xvfb
script:
- ./ci/build-gitlab.sh