-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
57 lines (46 loc) · 861 Bytes
/
.gitlab-ci.yml
File metadata and controls
57 lines (46 loc) · 861 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
50
51
52
53
54
image: ros_noetic_image
stages:
- build_rtl
- build_usage_ex
- build_usage_tests
- tests
build_rtl_job:
tags:
- ros_noetic
stage: build_rtl
script:
- mkdir build && cd build
- cmake ..
- make -j4
build_usage_ex_job:
tags:
- ros_noetic
stage: build_usage_ex
dependencies:
- build_rtl_job
script:
- mkdir build && cd build
- cmake .. -DENABLE_TESTS=False -DENABLE_USAGE_EXAMPLES=True
- make -j4
build_tests_job:
tags:
- ros_noetic
stage: build_usage_tests
dependencies:
- build_usage_ex_job
script:
- mkdir build && cd build
- cmake .. -DENABLE_TESTS=True -DENABLE_USAGE_EXAMPLES=False
- make -j4
artifacts:
paths:
- build/
test_job:
tags:
- ros_noetic
stage: tests
dependencies:
- build_tests_job
script:
- cd build/
- make test