From 6effe6bbc016af2f71f10e6c76df57064a17a48d Mon Sep 17 00:00:00 2001 From: Dan Rose Date: Tue, 31 Mar 2020 13:59:56 -0500 Subject: [PATCH] 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. --- .github/workflows/CI.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0da2097..dd279e1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,18 +3,27 @@ on: [push, pull_request] jobs: build: strategy: + fail-fast: false 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 + 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: - - uses: ros-tooling/setup-ros@0.0.15 - with: - required-ros-distributions: ${{ matrix.rosdistro }} - - uses: ros-tooling/action-ros-ci@0.0.14 + - 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 }}