From 92943a48fb17e12500eac67359046db3b34d442a Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Wed, 26 Jun 2019 09:49:52 +0200 Subject: [PATCH] Add gitlab-ci config file --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..19427a9 --- /dev/null +++ b/.gitlab-ci.yml @@ -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