From 95cee7d77d5af7afba3eebeaead7f677dc461be8 Mon Sep 17 00:00:00 2001 From: Dan Rose Date: Mon, 30 Mar 2020 00:06:31 -0500 Subject: [PATCH] Add CI with GitHub actions (#130) Especially since we maintain compatibility across multiple ROS versions, which new contributors might not expect, this should help prevent accidental build-breaking. --- .github/workflows/CI.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..0da2097 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,20 @@ +name: ROS2 CI +on: [push, pull_request] +jobs: + build: + strategy: + matrix: + os: [ubuntu-18.04, macOS-latest, windows-latest] + rosdistro: [dashing, eloquent, source] + exclude: # issue in action-ros-ci@0.0.14 + - os: ubuntu-18.04 + rosdistro: source + runs-on: ${{ matrix.os }} + steps: + - uses: ros-tooling/setup-ros@0.0.15 + with: + required-ros-distributions: ${{ matrix.rosdistro }} + - uses: ros-tooling/action-ros-ci@0.0.14 + with: + package-name: rmw_cyclonedds_cpp +