From d7db0decf2470163bbc086c6e3a9acae2c96b656 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sun, 11 Aug 2019 10:05:02 +0200 Subject: [PATCH] Add build job without lttng --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3729e1a..e09680a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,6 @@ variables: PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace base_image_id: registry.gitlab.com/micro-ros/ros_tracing/ci_base -image: $base_image_id - .global_artifacts: &global_artifacts artifacts: paths: @@ -22,6 +20,7 @@ before_script: - . /root/ws/install/local_setup.sh build_enabled: + image: $base_image_id script: - lttng-sessiond --daemonize - colcon build --symlink-install --packages-up-to $PACKAGES_LIST @@ -32,6 +31,7 @@ build_enabled: <<: *global_artifacts build: + image: $base_image_id script: - colcon build --symlink-install --cmake-args " -DTRACETOOLS_DISABLED=ON" --packages-up-to $PACKAGES_LIST - . install/local_setup.sh @@ -39,3 +39,13 @@ build: - colcon test --packages-select $PACKAGES_LIST - colcon test-result <<: *global_artifacts + +build_no_lttng: + image: $base_image_id:base + script: + - colcon build --symlink-install --packages-up-to $PACKAGES_LIST + - . install/local_setup.sh + - (! ./build/tracetools/status) + - colcon test --packages-select $PACKAGES_LIST + - colcon test-result + <<: *global_artifacts