From 6e53c11e318e21dfc4456703362f2c0417c3a3a5 Mon Sep 17 00:00:00 2001 From: Wolfgang Merkt Date: Thu, 13 Oct 2022 17:20:31 +0100 Subject: [PATCH] [ROS1] Add GitHub Actions CI (#38) * [CI] Add GitHub Actions CI, addresses #33 * Remove Travis-CI from README --- .github/workflows/industrial_ci_action.yml | 24 ++++++++++++++++++++++ README.md | 2 -- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/industrial_ci_action.yml diff --git a/.github/workflows/industrial_ci_action.yml b/.github/workflows/industrial_ci_action.yml new file mode 100644 index 0000000..24bc5c2 --- /dev/null +++ b/.github/workflows/industrial_ci_action.yml @@ -0,0 +1,24 @@ +name: CI +on: [push, pull_request] + +jobs: + CI: + strategy: + matrix: + env: + - {ROS_DISTRO: melodic} + - {ROS_DISTRO: noetic} + env: + CCACHE_DIR: /github/home/.ccache # Enable ccache + PRERELEASE: true + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # This step will fetch/store the directory used by ccache before/after the ci run + - uses: actions/cache@v2 + with: + path: ${{ env.CCACHE_DIR }} + key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} + # Run industrial_ci + - uses: 'ros-industrial/industrial_ci@master' + env: ${{ matrix.env }} diff --git a/README.md b/README.md index 4e1592b..ae327b2 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,3 @@ twist_mux Twist multiplexer with support for [geometry_msgs/Twist](http://docs.ros.org/api/geometry_msgs/html/msg/Twist.html) topics and [std_msgs/Bool](http://docs.ros.org/api/std_msgs/html/msg/Bool.html) locks with priorities. See [documentation](http://wiki.ros.org/twist_mux). - -[![Build Status](https://travis-ci.org/ros-teleop/twist_mux.png?branch=jade-devel)](https://travis-ci.org/ros-teleop/twist_mux)