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 --packages-select $PACKAGES_LIST
- colcon test-result - colcon test-result
<<: *global_artifacts <<: *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

View file

@ -23,6 +23,10 @@ repositories:
type: git type: git
url: https://github.com/ament/uncrustify_vendor.git url: https://github.com/ament/uncrustify_vendor.git
version: master version: master
eProsima/foonathan_memory_vendor:
type: git
url: https://github.com/eProsima/foonathan_memory_vendor.git
version: master
eProsima/Fast-CDR: eProsima/Fast-CDR:
type: git type: git
url: https://github.com/eProsima/Fast-CDR.git url: https://github.com/eProsima/Fast-CDR.git
@ -31,6 +35,10 @@ repositories:
type: git type: git
url: https://github.com/eProsima/Fast-RTPS.git url: https://github.com/eProsima/Fast-RTPS.git
version: master 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: osrf/osrf_pycommon:
type: git type: git
url: https://github.com/osrf/osrf_pycommon.git url: https://github.com/osrf/osrf_pycommon.git
@ -135,6 +143,10 @@ repositories:
type: git type: git
url: https://github.com/ros2/demos.git url: https://github.com/ros2/demos.git
version: master version: master
ros2/eigen3_cmake_module:
type: git
url: https://github.com/ros2/eigen3_cmake_module.git
version: master
ros2/examples: ros2/examples:
type: git type: git
url: https://github.com/ros2/examples.git url: https://github.com/ros2/examples.git
@ -315,10 +327,6 @@ repositories:
type: git type: git
url: https://github.com/ros2/tlsf.git url: https://github.com/ros2/tlsf.git
version: master version: master
ros2/tracing:
type: git
url: https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git
version: master
# ros2/tutorials: # ros2/tutorials:
# type: git # type: git
# url: https://github.com/ros2/tutorials.git # url: https://github.com/ros2/tutorials.git