Create a CI build job without LTTng
This commit is contained in:
parent
3542aab984
commit
169a7ef048
1 changed files with 23 additions and 11 deletions
|
@ -3,18 +3,30 @@ variables:
|
||||||
PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
|
PACKAGES_LIST: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace
|
||||||
base_image_id: registry.gitlab.com/micro-ros/ros_tracing/ci_base
|
base_image_id: registry.gitlab.com/micro-ros/ros_tracing/ci_base
|
||||||
|
|
||||||
build_enabled:
|
image: $base_image_id
|
||||||
image: $base_image_id
|
|
||||||
script:
|
before_script:
|
||||||
- vcs import < instrumentation.repos
|
- vcs import < instrumentation.repos
|
||||||
- rosdep install --from-paths . -i . -i /root/ws --rosdistro dashing -y
|
- rosdep install --from-paths . -i . -i /root/ws --rosdistro dashing -y
|
||||||
- lttng-sessiond --daemonize
|
|
||||||
- . /root/ws/install/local_setup.sh
|
- . /root/ws/install/local_setup.sh
|
||||||
|
|
||||||
|
build_enabled:
|
||||||
|
script:
|
||||||
|
- lttng-sessiond --daemonize
|
||||||
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST
|
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST
|
||||||
- . install/local_setup.sh
|
- . install/local_setup.sh
|
||||||
- colcon test --packages-select $PACKAGES_LIST
|
- colcon test --packages-select $PACKAGES_LIST
|
||||||
- colcon test-result
|
- colcon test-result
|
||||||
artifacts:
|
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- rm colcon.meta
|
||||||
|
- colcon build --symlink-install --packages-up-to $PACKAGES_LIST
|
||||||
|
- . install/local_setup.sh
|
||||||
|
- colcon test --packages-select $PACKAGES_LIST
|
||||||
|
- colcon test-result
|
||||||
|
|
||||||
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- install
|
- install
|
||||||
- build/*/test_results/*/*.xunit.xml
|
- build/*/test_results/*/*.xunit.xml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue