-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
178 lines (167 loc) · 3.55 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- analysis
- build
- test
before_script:
- hostname
- whoami
analysis-cppcheck:
stage: analysis
variables:
GIT_SUBMODULE_STRATEGY: none
artifacts:
name: analysis-cppcheck-logs
when: always
paths:
- cppcheck/
tags:
- cppcheck
script:
- ./ci/analysis-cppcheck.sh
build-linux-gcc:
stage: build
tags:
- linux
- gcc
- cmake
- x86
dependencies: []
artifacts:
name: build-linux-gcc
when: always
paths:
- ./build_linux_gcc/
script:
- export CXX="g++"
- export CFLAGS="-Wall -funroll-loops -msse4.2"
- export BUILD="build_linux_gcc"
- source ./ci/tools/threads.sh
- source ./ci/tools/aff3ct-git-version.sh
- ./ci/build-linux-macos.sh
build-linux-clang:
stage: build
tags:
- linux
- clang
- cmake
- x86
dependencies: []
artifacts:
name: build-linux-clang
when: always
paths:
- ./build_linux_clang/
script:
- export CXX="clang++"
- export CFLAGS="-Wall -Wno-overloaded-virtual -funroll-loops -msse4.2"
- export BUILD="build_linux_clang"
- source ./ci/tools/threads.sh
- source ./ci/tools/aff3ct-git-version.sh
- ./ci/build-linux-macos.sh
build-linux-gcc-4.8:
stage: build
tags:
- linux
- gcc-4.8
- cmake
dependencies: []
artifacts:
name: build-linux-gcc-4.8
when: always
paths:
- ./build_linux_gcc-4.8/
script:
- export CXX="g++-4.8"
- export CFLAGS="-Wall -funroll-loops -msse4.2"
- export BUILD="build_linux_gcc-4.8"
- source ./ci/tools/threads.sh
- source ./ci/tools/aff3ct-git-version.sh
- ./ci/build-linux-macos.sh
build-linux-icpc:
stage: build
tags:
- linux
- icpc
- cmake
- x86
dependencies: []
artifacts:
name: build-linux-icpc
when: always
paths:
- ./build_linux_icpc/
script:
- export CXX="icpc"
- export CFLAGS="-Wall -funroll-loops -msse4.2 -std=c++11"
- export BUILD="build_linux_icpc"
- source ./ci/tools/threads.sh
- source ./ci/tools/aff3ct-git-version.sh
- ./ci/build-linux-macos.sh
build-windows-gcc:
stage: build
tags:
- windows
- gcc
- cmake
dependencies: []
artifacts:
name: build-windows-gcc
when: always
paths:
- ./build_windows_gcc/
script:
- set "CFLAGS=-Wall -funroll-loops -mavx"
- set "BUILD=build_windows_gcc"
- call ./ci/tools/threads.bat
- call ./ci/tools/aff3ct-git-version.bat
- ./ci/build-windows-gcc.bat
build-windows-msvc:
stage: build
tags:
- windows
- msvc
- cmake
dependencies: []
artifacts:
name: build-windows-msvc
when: always
paths:
- ./build_windows_msvc/
script:
- set "CFLAGS=-D_CRT_SECURE_NO_DEPRECATE /EHsc /arch:AVX"
- set "BUILD=build_windows_msvc"
- call ./ci/tools/threads.bat
- call ./ci/tools/aff3ct-git-version.bat
- ./ci/build-windows-msvc.bat
build-macos-clang:
stage: build
tags:
- macos
- apple-clang
- cmake
- x86
dependencies: []
artifacts:
name: build-macos-clang
when: always
paths:
- ./build_macos_clang/
script:
- export CXX="clang++"
- export CFLAGS="-Wall -Wno-overloaded-virtual -funroll-loops -msse4.2"
- export BUILD="build_macos_clang"
- source ./ci/tools/threads.sh
- source ./ci/tools/aff3ct-git-version.sh
- ./ci/build-linux-macos.sh
test-linux-gcc:
stage: test
tags:
- linux
- x86
dependencies:
- build-linux-gcc
script:
- mv build_linux_gcc build
- ./tests/run_tests.sh