Add build job without lttng
This commit is contained in:
parent
49ddfc4122
commit
d7db0decf2
1 changed files with 12 additions and 2 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
|
||||
|
@ -32,6 +31,7 @@ build_enabled:
|
|||
<<: *global_artifacts
|
||||
|
||||
build:
|
||||
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,13 @@ build:
|
|||
- colcon test --packages-select $PACKAGES_LIST
|
||||
- colcon test-result
|
||||
<<: *global_artifacts
|
||||
|
||||
build_no_lttng:
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue