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.
This commit is contained in:
parent
12f977f3df
commit
95cee7d77d
1 changed files with 20 additions and 0 deletions
20
.github/workflows/CI.yml
vendored
Normal file
20
.github/workflows/CI.yml
vendored
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue