Add schedule-only job that builds everything from source

This commit is contained in:
Christophe Bedard 2019-08-11 11:34:28 +02:00
parent e9f5fe3fa1
commit b992549c9a
2 changed files with 32 additions and 4 deletions

View file

@ -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