ros2_tracing/.gitlab-ci.yml
2019-07-08 09:01:12 +00:00

25 lines
855 B
YAML

variables:
DOCKER_DRIVER: overlay2
PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
base_image_id: registry.gitlab.com/micro-ros/ros_tracing/ci_base
build_enabled:
image: $base_image_id
script:
- vcs import < instrumentation.repos
- rosdep install --from-paths . -i . --rosdistro dashing -y
- lttng-sessiond --daemonize
- . /root/ws/install/local_setup.sh
- colcon build --symlink-install --cmake-args " -DWITH_LTTNG=ON" --packages-up-to $PACKAGES_LIST
- . install/local_setup.sh
- colcon test --packages-select $PACKAGES_LIST
- colcon test-result
artifacts:
paths:
- install
- build/*/test_results/*/*.xunit.xml
- build/*/pytest.xml
reports:
junit:
- build/*/test_results/*/*.xunit.xml
- build/*/pytest.xml