Add namespace feature to the Turtlebot3 bringup launch for multi robot control & changing target of ros ci to the main and humble branches #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |