-
Notifications
You must be signed in to change notification settings - Fork 44
51 lines (49 loc) · 1.64 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CI RCLC Rolling
on:
push:
branches: [ rolling ]
pull_request:
branches: [ rolling ]
schedule:
# Run once per day to detect broken dependencies.
- cron: '33 6 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04 ]
ros_distribution: [ rolling ]
include:
- docker_image: ubuntu:noble
ros_distribution: rolling
container:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
with:
use-ros2-testing: true
required-ros-distributions: ${{ matrix.ros_distribution }}
- name : Download and install rclc-dependencies
run: |
apt-get install ros-${{ matrix.ros_distribution }}-osrf-testing-tools-cpp
apt-get install ros-${{ matrix.ros_distribution }}-test-msgs
apt-get install ros-${{ matrix.ros_distribution }}-rclcpp-action
apt-get install ros-${{ matrix.ros_distribution }}-mimick-vendor
apt-get -y install ros-${{ matrix.ros_distribution }}-performance-test-fixture
- uses : ros-tooling/[email protected]
with:
package-name: "rclc rclc_examples rclc_lifecycle rclc_parameter"
target-ros2-distro: ${{ matrix.ros_distribution }}
colcon-defaults: |
{
"build": {
"mixin": [ "coverage-gcc" ]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- uses: codecov/codecov-action@v1
with:
file: ros_ws/lcov/total_coverage.info