-
-
Notifications
You must be signed in to change notification settings - Fork 653
36 lines (32 loc) · 909 Bytes
/
ros2-rolling.yaml
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
name: ros2-rolling
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Set up ROS
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: rolling
# Step 2: Cache ROS dependencies
- name: Cache ROS dependencies
uses: actions/cache@v4
with:
path: |
~/.ros
/tmp/rosdep
/opt/ros/rolling
key: ${{ runner.os }}-ros2-rolling-${{ hashFiles('**/package.xml') }}-rosdep
restore-keys: |
${{ runner.os }}-ros2-rolling-${{ hashFiles('**/package.xml') }}-
${{ runner.os }}-ros2-rolling-
# Step 3: Run ROS CI
- uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: plotjuggler
target-ros2-distro: rolling