diff --git a/.github/workflows/ros-ci.yml b/.github/workflows/ros-ci.yml new file mode 100644 index 00000000..a140ed7b --- /dev/null +++ b/.github/workflows/ros-ci.yml @@ -0,0 +1,52 @@ +name: ros-ci + +# Controls when the action will run. Triggers the workflow on push or pull request +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + develop-ci: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ros_distribution: + # - kinetic + # - melodic + - noetic + include: + # Kinetic Kame (May 2016 - May 2021) + # - docker_image: ubuntu:xenial + # ros_distribution: kinetic + # ros_version: 1 + # Melodic Morenia (May 2018 - May 2023) + # - docker_image: ubuntu:bionic + # ros_distribution: melodic + # ros_version: 1 + # Noetic Ninjemys (May 2020 - May 2025) + - docker_image: ubuntu:focal + ros_distribution: noetic + ros_version: 1 + 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.1.2 + with: + required-ros-distributions: ${{ matrix.ros_distribution }} + - name: Build and Test + uses: ros-tooling/action-ros-ci@v0.2 + with: + package-name: turtlebot3 + target-ros1-distro: ${{ matrix.ros_distribution }} + vcs-repo-file-url: "" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f25e84d7..00000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This config file for Travis CI utilizes ros-industrial/industrial_ci package. -# For more info for the package, see https://github.com/ros-industrial/industrial_ci/blob/master/README.rst - -sudo: required -dist: trusty -services: - - docker -language: generic -python: - - "2.7" -compiler: - - gcc -notifications: - email: - on_success: change - on_failure: always - recipients: - - willson@robotis.com -env: - matrix: - - ROS_DISTRO=kinetic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=xenial - - ROS_DISTRO=melodic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=bionic - - ROS_DISTRO=noetic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=focal -branches: - only: - - master - - develop - - kinetic-devel - - melodic-devel - - noetic-devel - -install: - - git clone https://github.com/ros-industrial/industrial_ci.git .ci_config -script: - - source .ci_config/travis.sh diff --git a/README.md b/README.md index cd5b9e8b..b8820bee 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # TurtleBot3 -## ROS 1 Packages for TurtleBot3 -|develop|master|Kinetic + Ubuntu Xenial|Melodic + Ubuntu Bionic|Noetic + Ubuntu Focal| -|:---:|:---:|:---:|:---:|:---:| -|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=develop)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=master)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=kinetic-devel)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=melodic-devel)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=noetic-devel)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)| - -## ROS 2 Packages for TurtleBot3 -|ros2-devel|ros2|Dashing + Ubuntu Bionic|Foxy + Ubuntu Focal| -|:---:|:---:|:---:|:---:| -|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=ros2-devel)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=ros2)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=dashing-devel)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3.svg?branch=foxy-devel)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3)| +[![kinetic-devel Status](https://github.com/ROBOTIS-GIT/turtlebot3/workflows/kinetic-devel/badge.svg)](https://github.com/ROBOTIS-GIT/turtlebot3/tree/kinetic-devel) + +[![melodic-devel Status](https://github.com/ROBOTIS-GIT/turtlebot3/workflows/melodic-devel/badge.svg)](https://github.com/ROBOTIS-GIT/turtlebot3/tree/melodic-devel) + +[![noetic-devel Status](https://github.com/ROBOTIS-GIT/turtlebot3/workflows/noetic-devel/badge.svg)](https://github.com/ROBOTIS-GIT/turtlebot3/tree/noetic-devel) + +[![dashing-devel Status](https://github.com/ROBOTIS-GIT/turtlebot3/workflows/dashing-devel/badge.svg)](https://github.com/ROBOTIS-GIT/turtlebot3/tree/dashing-devel) + +[![foxy-devel Status](https://github.com/ROBOTIS-GIT/turtlebot3/workflows/foxy-devel/badge.svg)](https://github.com/ROBOTIS-GIT/turtlebot3/tree/foxy-devel) ## ROBOTIS e-Manual for TurtleBot3 - [ROBOTIS e-Manual for TurtleBot3](http://turtlebot3.robotis.com/)