From b992549c9a29c8eeadd3dbffda1711a66b8d2e9e Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Sun, 11 Aug 2019 11:34:28 +0200 Subject: [PATCH] Add schedule-only job that builds everything from source --- .gitlab-ci.yml | 20 ++++++++++++++++++++ all.repos | 16 ++++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dee6d2c..1c6c64a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,3 +49,23 @@ build_no_lttng: - colcon test --packages-select $PACKAGES_LIST - colcon test-result <<: *global_artifacts + +build_from_source: + only: + - schedules + image: $base_image_id + before_script: + - wget https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos + - mkdir src/ + - vcs import src/ < ros2.repos + - rm -rf src/micro-ROS/ + - vcs import --force src/ < instrumentation.repos + - rosdep install --from-paths src --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers" + script: + - lttng-sessiond --daemonize + - 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 diff --git a/all.repos b/all.repos index 0c7e825..b6558d6 100644 --- a/all.repos +++ b/all.repos @@ -23,6 +23,10 @@ repositories: type: git url: https://github.com/ament/uncrustify_vendor.git version: master + eProsima/foonathan_memory_vendor: + type: git + url: https://github.com/eProsima/foonathan_memory_vendor.git + version: master eProsima/Fast-CDR: type: git url: https://github.com/eProsima/Fast-CDR.git @@ -31,6 +35,10 @@ repositories: type: git url: https://github.com/eProsima/Fast-RTPS.git version: master + micro-ROS/ros_tracing/ros2_tracing: + type: git + url: https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git + version: master osrf/osrf_pycommon: type: git url: https://github.com/osrf/osrf_pycommon.git @@ -135,6 +143,10 @@ repositories: type: git url: https://github.com/ros2/demos.git version: master + ros2/eigen3_cmake_module: + type: git + url: https://github.com/ros2/eigen3_cmake_module.git + version: master ros2/examples: type: git url: https://github.com/ros2/examples.git @@ -315,10 +327,6 @@ repositories: type: git url: https://github.com/ros2/tlsf.git version: master - ros2/tracing: - type: git - url: https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git - version: master # ros2/tutorials: # type: git # url: https://github.com/ros2/tutorials.git