Merge branch '40-enhance-ci-coverage' into 'master'
Resolve "Enhance CI coverage" Closes #40 See merge request micro-ROS/ros_tracing/ros2_tracing!86
This commit is contained in:
commit
d1d49e6aa6
2 changed files with 47 additions and 7 deletions
|
@ -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
|
||||
|
@ -31,7 +30,8 @@ build_enabled:
|
|||
- colcon test-result
|
||||
<<: *global_artifacts
|
||||
|
||||
build:
|
||||
build_disabled:
|
||||
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,35 @@ build:
|
|||
- colcon test --packages-select $PACKAGES_LIST
|
||||
- colcon test-result
|
||||
<<: *global_artifacts
|
||||
|
||||
build_no_lttng:
|
||||
only:
|
||||
- schedules
|
||||
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
|
||||
|
||||
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
|
||||
|
|
16
all.repos
16
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue