-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathgitlab-ci.yml.in
41 lines (34 loc) · 968 Bytes
/
gitlab-ci.yml.in
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
variables:
CI_OS_NAME: @CI_OS_NAME@
CI_TOOL: gitlab-ci
CI_WIKI: @CI_WIKI@ # pushable git url for the wiki
APT_DEPENDENCIES: @APT_DEPENDENCIES@
GIT_DEPENDENCIES: @GIT_DEPENDENCIES@
ROS_GIT_DEPENDENCIES: @ROS_GIT_DEPENDENCIES@
ROS_DISTRO: @ROS_DISTRO@
PARALLEL_JOBS: @PARALLEL_JOBS@
# Secured variable are stored in the project
# See: http://doc.gitlab.com/ci/variables/README.html
# Notifications (email/chatroom) are also handled by gitlab directly
before_script:
- ./.jrl-ci/run before_install
# The following is just an example possibility to run gcc/clang builds
# One could set environment variable and apt dependencies to do the job
build_gcc:
stage: build
script:
- ./.jrl-ci/run build
- export CI_UPDATE_WIKI=true
- ./.jrl-ci/run after_success
tags:
- GCC
build_clang:
stage: build
script:
- ./.jrl-ci/run build
- ./.jrl-ci/run after_success
tags:
- clang
allow_failure: true
stages:
- build