
Binary builds skip silently on non-Linux platforms, so we previously weren't *actually* testing Eloquent and Dashing on Windows and Mac.
29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
name: ROS2 CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-18.04, macOS-latest, windows-latest]
|
|
repos-url:
|
|
- https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos
|
|
- https://raw.githubusercontent.com/ros2/ros2/eloquent/ros2.repos
|
|
- https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
|
|
exclude:
|
|
# pending https://github.com/ament/ament_cmake/pull/233
|
|
- os: windows-latest
|
|
repos-url: https://raw.githubusercontent.com/ros2/ros2/eloquent/ros2.repos
|
|
# pending https://github.com/ament/ament_cmake/pull/234
|
|
- os: windows-latest
|
|
repos-url: https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Acquire ROS dependencies
|
|
uses: ros-tooling/setup-ros@0.0.15
|
|
- name: Build and test ROS
|
|
uses: ros-tooling/action-ros-ci@0.0.14
|
|
with:
|
|
package-name: rmw_cyclonedds_cpp
|
|
vcs-repo-file-url: ${{ matrix.repos-url }}
|
|
|