In CI, always build ROS from source (#133)
Binary builds skip silently on non-Linux platforms, so we previously weren't *actually* testing Eloquent and Dashing on Windows and Mac.
This commit is contained in:
parent
95cee7d77d
commit
6effe6bbc0
1 changed files with 17 additions and 8 deletions
25
.github/workflows/CI.yml
vendored
25
.github/workflows/CI.yml
vendored
|
@ -3,18 +3,27 @@ on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04, macOS-latest, windows-latest]
|
os: [ubuntu-18.04, macOS-latest, windows-latest]
|
||||||
rosdistro: [dashing, eloquent, source]
|
repos-url:
|
||||||
exclude: # issue in action-ros-ci@0.0.14
|
- https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos
|
||||||
- os: ubuntu-18.04
|
- https://raw.githubusercontent.com/ros2/ros2/eloquent/ros2.repos
|
||||||
rosdistro: source
|
- 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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: ros-tooling/setup-ros@0.0.15
|
- name: Acquire ROS dependencies
|
||||||
with:
|
uses: ros-tooling/setup-ros@0.0.15
|
||||||
required-ros-distributions: ${{ matrix.rosdistro }}
|
- name: Build and test ROS
|
||||||
- uses: ros-tooling/action-ros-ci@0.0.14
|
uses: ros-tooling/action-ros-ci@0.0.14
|
||||||
with:
|
with:
|
||||||
package-name: rmw_cyclonedds_cpp
|
package-name: rmw_cyclonedds_cpp
|
||||||
|
vcs-repo-file-url: ${{ matrix.repos-url }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue