forked from nanocurrency/nano-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
123 lines (91 loc) · 1.86 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
## Raiblocks CI config
image: ubuntu:zesty
stages:
- build
- test
variables:
GIT_SUBMODULE_STRATEGY: recursive
.linux_template: &linux_cfg
variables:
CC: clang
CXX: clang++
artifacts:
expire_in: 2d
paths:
- build*/*.tar*
- build*/*_test
- csa_results
script:
- ./ci/build.sh
after_script:
- ./ci/test.sh
Arch Linux:
<<: *linux_cfg
stage: build
image: pritunl/archlinux:latest
before_script:
- pacman --noconfirm -Syu base-devel 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.sh
Ubuntu Linux Trusty:
<<: *linux_cfg
stage: build
image: ubuntu:trusty
variables:
BOOST_ROOT: /usr/local/boost
CC: gcc
CXX: g++
NO_SIMD: 1
FLAVOR: trusty_no_simd
before_script:
- ./ci/ubuntu_prep.sh
- ./ci/bootstrap_boost.sh
Ubuntu Linux Zesty:
<<: *linux_cfg
stage: build
image: ubuntu:zesty
variables:
FLAVOR: zesty
before_script:
- ./ci/ubuntu_prep.sh
Ubuntu Linux:ASAN:
<<: *linux_cfg
stage: build
variables:
ASAN: 1
before_script:
- ./ci/ubuntu_prep.sh
variables:
FLAVOR: zesty_asan
Ubuntu Linux:TSAN:
<<: *linux_cfg
stage: build
variables:
TSAN: 1
before_script:
- ./ci/ubuntu_prep.sh
variables:
FLAVOR: zesty_tsan
# 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.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.sh