-
Notifications
You must be signed in to change notification settings - Fork 1.1k
65 lines (60 loc) · 1.77 KB
/
ros-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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# The name of the workflow
name: CI
# Specifies the events that trigger the workflow
on:
push:
branches: [ main, humble ]
pull_request:
branches: [ main, humble ]
# Defines a set of jobs to be run as part of the workflow
jobs:
# The name of the job
ROS_CI:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ros_distribution:
- humble
# - jazzy
# - rolling
include:
# ROS 2 Humble Hawksbill
- docker_image: ubuntu:jammy
ros_distribution: humble
ros_version: 2
# ROS 2 Jazzy Jalisco
# - docker_image: ubuntu:noble
# ros_distribution: jazzy
# ros_version: 2
# ROS 2 Rolling Ridley
# - docker_image: ubuntu:noble
# ros_distribution: rolling
# ros_version: 2
container:
image: ${{ matrix.docker_image }}
steps:
- name: Setup workspace
run: mkdir -p ros_ws/src
- name: Checkout code
uses: actions/checkout@v4
with:
path: ros_ws/src
- name: Setup ROS environment
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Build and Test
uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
vcs-repo-file-url: "https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/main/turtlebot3_ci.repos"
package-name: |
turtlebot3
turtlebot3_bringup
turtlebot3_cartographer
turtlebot3_description
turtlebot3_example
turtlebot3_navigation2
turtlebot3_node
turtlebot3_teleop