Merge pull request #251 from ROBOTIS-GIT/ros2-devel #34
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
name: rolling | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
on: | |
push: | |
branches: [ ros2, ros2-devel ] | |
pull_request: | |
branches: [ ros2, ros2-devel ] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
ros2-ci: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distribution: | |
# - dashing | |
# - foxy | |
# - galactic | |
- rolling | |
include: | |
# Dashing Diademata (May 2019 - May 2021) | |
# - docker_image: ubuntu:bionic | |
# ros_distribution: dashing | |
# ros_version: 2 | |
# Foxy Fitzroy (June 2020 - May 2023) | |
# - docker_image: ubuntu:focal | |
# ros_distribution: foxy | |
# ros_version: 2 | |
# Galactic Geochelone (May 2021) | |
# - docker_image: ubuntu:focal | |
# ros_distribution: galactic | |
# ros_version: 2 | |
# Rolling | |
- docker_image: ubuntu:focal | |
ros_distribution: rolling | |
ros_version: 2 | |
container: | |
image: ${{ matrix.docker_image }} | |
steps: | |
- name: Setup directories | |
run: mkdir -p ros_ws/src | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
path: ros_ws/src | |
- name: Setup ROS environment | |
uses: ros-tooling/setup-ros@0.2.1 | |
with: | |
required-ros-distributions: ${{ matrix.ros_distribution }} | |
- name: Build and Test | |
uses: ros-tooling/action-ros-ci@v0.2 | |
with: | |
package-name: open_manipulator | |
target-ros2-distro: ${{ matrix.ros_distribution }} | |
vcs-repo-file-url: "https://raw.githubusercontent.com/ROBOTIS-GIT/open_manipulator/ros2/open_manipulator_x.repos" |