-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
49 lines (45 loc) · 847 Bytes
/
.gitlab-ci.yml
File metadata and controls
49 lines (45 loc) · 847 Bytes
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
stages:
- building
- test
gcc:
stage: building
script:
- mkdir build
- cd build
- cmake -G "Unix Makefiles"
-DCMAKE_C_COMPILER=gcc
-DCMAKE_CXX_COMPILER=g++
-DCMAKE_BUILD_TYPE=Release
-DTEST=true
..
- cmake --build .
artifacts:
paths:
- build/main_tests
clang:
stage: building
script:
- mkdir build
- cd build
- cmake -G "Unix Makefiles"
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_BUILD_TYPE=Release
-DTEST=true
..
- cmake --build .
artifacts:
paths:
- build/main_tests
google-gcc:
stage: test
dependencies:
- gcc
script:
- ./build/main_tests
google-clang:
stage: test
dependencies:
- clang
script:
- ./build/main_tests