-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
80 lines (73 loc) · 1.18 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
centos_build:
stage: build
tags:
- centos
script:
- mkdir build
- cd build
- cmake ..
- cat tests/build_machine.hpp
- make VERBOSE=1
centos_test:
stage: test
tags:
- centos
script:
- mkdir build
- cd build
- cmake ..
- cat tests/build_machine.hpp
- make VERBOSE=1
- ctest -V
mac_build:
stage: build
tags:
- mac
script:
- mkdir build
- cd build
- cmake ..
- cat tests/build_machine.hpp
- make VERBOSE=1
mac_test:
stage: test
tags:
- mac
script:
- mkdir build
- cd build
- cmake ..
- cat tests/build_machine.hpp
- make VERBOSE=1
- ctest -V
ubuntu_build:
stage: build
tags:
- ubuntu
script:
- mkdir build
- cd build
- cmake ..
- cat tests/build_machine.hpp
- make VERBOSE=1
win_build:
stage: build
tags:
- windows
script:
- mkdir build
- cd build
- cmake ..
- type tests\build_machine.hpp
- cmake --build .
win_test:
stage: test
tags:
- windows
script:
- mkdir build
- cd build
- cmake ..
- type tests\build_machine.hpp
- cmake --build . --config Release
- ctest -V -C Release