Skip to content

Commit

Permalink
Exclude other RMW from Github CI build
Browse files Browse the repository at this point in the history
Since ros2#145, the CI build of rmw_cyclonedds_cpp has been failing on Windows due to inadvertently injecting fastrtps into the build process.
fastrtps fails to build (eProsima/Fast-DDS#1173) causing the CI to fail.
There doesn't seem to be a better way to suppress this in action-ros-ci ros-tooling/action-ros-ci#177

Fixes ros2#164
  • Loading branch information
rotu committed Apr 25, 2020
1 parent 224d761 commit 6c93ba3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/resources/suppress_other_rmw.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
definitions:
- &colcon_ignore
type: zip
url: data:application/zip;base64,UEsDBAoAAAAAAImJmFAAAAAAAAAAAAAAAAANAAAAQ09MQ09OX0lHTk9SRVBLAQIeAwoAAAAAAImJmFAAAAAAAAAAAAAAAAANAAAAAAAAAAAAAAC0gQAAAABDT0xDT05fSUdOT1JFUEsFBgAAAAABAAEAOwAAACsAAAAAAA==

repositories:
ros2/rosidl_typesupport_connext: *colcon_ignore
ros2/rmw_connext: *colcon_ignore

eProsima/Fast-CDR: *colcon_ignore
eProsima/Fast-RTPS: *colcon_ignore
ros2/rosidl_typesupport_fastrtps: *colcon_ignore
ros2/rmw_fastrtps: *colcon_ignore

ros2/rmw_opensplice: *colcon_ignore
ros2/rosidl_typesupport_opensplice: *colcon_ignore
10 changes: 6 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ jobs:
fail-fast: false
matrix:
rosdistro: [master]
os: [ubuntu-18.04, macOS-latest, windows-latest]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- if: runner.os == 'Linux'
# azure ubuntu repo can be flaky so add an alternate source
run: sed -e 's/azure.archive.ubuntu.com/us.archive.ubuntu.com/g' -e t -e d /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/nonazure.list
- name: Acquire ROS dependencies
uses: ros-tooling/setup-ros@0.0.19
uses: rotu/setup-ros@winrm
- name: Build and test ROS
uses: ros-tooling/[email protected].15
uses: ros-tooling/[email protected].16
with:
package-name: rmw_cyclonedds_cpp
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/${{ matrix.rosdistro }}/ros2.repos
vcs-repo-file-url: >
https://raw.githubusercontent.com/ros2/ros2/${{ matrix.rosdistro }}/ros2.repos
https://raw.githubusercontent.com/${{github.repository}}/${{github.sha}}/.github/resources/suppress_other_rmw.repos

0 comments on commit 6c93ba3

Please sign in to comment.