Add gitlab-ci config file
This commit is contained in:
parent
7c7e509d4c
commit
92943a48fb
1 changed files with 22 additions and 0 deletions
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
image: registry.gitlab.com/ros_tracing/ros2_tracing/ci-base:latest
|
||||
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
PACKAGES_LIST: tracetools_analysis
|
||||
|
||||
before_script:
|
||||
- git clone https://gitlab.com/ros_tracing/ros2_tracing.git
|
||||
- apt-get update
|
||||
- rosdep update
|
||||
- rosdep install --from-paths . --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
|
||||
|
||||
build:
|
||||
script:
|
||||
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST
|
||||
- colcon test --packages-select $PACKAGES_LIST
|
||||
artifacts:
|
||||
paths:
|
||||
- install
|
||||
- build/*/test_results/*/*.xunit.xml
|
||||
reports:
|
||||
junit: build/*/test_results/*/*.xunit.xml
|
Loading…
Add table
Add a link
Reference in a new issue