Initial gitlab-ci.yml
This commit is contained in:
parent
7c7290e8bb
commit
f720c450fc
4 changed files with 29 additions and 2 deletions
26
.gitlab-ci.yml
Normal file
26
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
image: ros:dashing-ros-base
|
||||
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
|
||||
before_script:
|
||||
- apt update
|
||||
- rosdep update
|
||||
- rosdep install -y --from-paths . -i .
|
||||
- ln -s src
|
||||
|
||||
build:
|
||||
script:
|
||||
- colcon build
|
||||
- colcon test
|
||||
artifacts:
|
||||
paths:
|
||||
- install
|
||||
|
||||
build_enabled:
|
||||
script:
|
||||
- colcon build --cmake-args -DWITH_LTTNG=ON
|
||||
- colcon test
|
||||
artifacts:
|
||||
paths:
|
||||
- install
|
Loading…
Add table
Add a link
Reference in a new issue