-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
117 lines (96 loc) · 3.38 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
# Build only merge request and default branch
# and branches start with (develop).
# save time for quick demo pushes
workflow:
rules:
- if: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH =~ /^develop/
humble-nightly-gcc-coverage:
image:
name: registry.gitlab.com/rosi-ap/rosi-ap_infrastructure/rosiap_docker_images/ros:rmf-humble-nightly
cache:
key: ${CI_JOB_NAME}
paths:
- .ccache/
variables:
ISOLATION: "shell"
ROS_DISTRO: "humble"
CCACHE_DIR: "${CI_PROJECT_DIR}/.ccache"
UPSTREAM_WORKSPACE: "deps.repos"
TARGET_CMAKE_ARGS: "-DCMAKE_C_FLAGS='--coverage' -DCMAKE_CXX_FLAGS='--coverage'"
script:
- apt-get update && apt-get install -y git
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/gitlab.sh
# Upload coverage report
- ./coverage.sh ci
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -f ./coverage.info
humble-nightly-gcc-asan:
image:
name: registry.gitlab.com/rosi-ap/rosi-ap_infrastructure/rosiap_docker_images/ros:rmf-humble-nightly
cache:
key: ${CI_JOB_NAME}
paths:
- .ccache/
variables:
ISOLATION: "shell"
ROS_DISTRO: "humble"
CCACHE_DIR: "${CI_PROJECT_DIR}/.ccache"
UPSTREAM_WORKSPACE: "deps.repos"
TARGET_CMAKE_ARGS: "-DCMAKE_C_FLAGS='-fsanitize=address' -DCMAKE_CXX_FLAGS='-fsanitize=address'"
script:
- apt-get update && apt-get install -y git
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/gitlab.sh
humble-nightly-gcc-tsan:
image:
name: registry.gitlab.com/rosi-ap/rosi-ap_infrastructure/rosiap_docker_images/ros:rmf-humble-nightly
cache:
key: ${CI_JOB_NAME}
paths:
- .ccache/
variables:
ISOLATION: "shell"
ROS_DISTRO: "humble"
CCACHE_DIR: "${CI_PROJECT_DIR}/.ccache"
UPSTREAM_WORKSPACE: "deps.repos"
TARGET_CMAKE_ARGS: "-DCMAKE_C_FLAGS='-fsanitize=thread -O2 -g -fno-omit-frame-pointer' -DCMAKE_CXX_FLAGS='-fsanitize=thread -O2 -g -fno-omit-frame-pointer'"
script:
- apt-get update && apt-get install -y git
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/gitlab.sh
humble-nightly-clang:
image:
name: registry.gitlab.com/rosi-ap/rosi-ap_infrastructure/rosiap_docker_images/ros:rmf-humble-nightly
cache:
key: ${CI_JOB_NAME}
paths:
- .ccache/
variables:
ISOLATION: "shell"
ROS_DISTRO: "humble"
CCACHE_DIR: "${CI_PROJECT_DIR}/.ccache"
UPSTREAM_WORKSPACE: "deps.repos"
CC: "clang"
CXX: "clang++"
TARGET_CMAKE_ARGS: "-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_MODULE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld"
script:
- apt-get update && apt-get install -y git
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/gitlab.sh
# Build API Documentation
doxygen-docs:
image: ubuntu:latest
before_script:
- apt-get -qq update
- apt-get -y -qq install doxygen graphviz
script:
- (mkdir -p docs/doxygen/build && cd ./.doxygen && doxygen)
artifacts:
paths:
- docs/doxygen/build/html/
expire_in: 1 day