-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
45 lines (37 loc) · 1.03 KB
/
.gitlab-ci.yml
File metadata and controls
45 lines (37 loc) · 1.03 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
before_script:
- mkdir build && cd build
- export CXXFLAGS=-Werror
- export CTEST_OUTPUT_ON_FAILURE=1
.script: &compile_and_test
script:
- cmake -DCMAKE_BUILD_TYPE=Release .. && make && make test
- rm -r *
- cmake -DCMAKE_BUILD_TYPE=Release -DUSE_STANDALONE_ASIO=ON .. && make && make test
arch:
image: "registry.gitlab.com/eidheim/docker-images:arch"
<<: *compile_and_test
buster:
image: "registry.gitlab.com/eidheim/docker-images:buster"
<<: *compile_and_test
stretch:
image: "registry.gitlab.com/eidheim/docker-images:stretch"
<<: *compile_and_test
thread-safety-analysis:
image: "registry.gitlab.com/eidheim/docker-images:arch"
script:
- CXX=clang++ cmake .. && make
static-analysis:
image: "registry.gitlab.com/eidheim/docker-images:arch"
script:
- scan-build cmake .. && scan-build --status-bugs make
pages:
image: alpine
script:
- apk update && apk add doxygen
- cd .. && doxygen docs/Doxyfile
- mv doxygen_output/html/ public/
artifacts:
paths:
- public
only:
- master