Skip to content

Commit cd7e2f3

Browse files
committed
Exclude other RMW from Github CI build
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
1 parent 3c306d3 commit cd7e2f3

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

Diff for: .github/resources/suppress_other_rmw.repos

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
definitions:
2+
- &empty_repo
3+
type: zip
4+
url: data:application/zip;base64,UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA==
5+
6+
repositories:
7+
ros2/rosidl_typesupport_connext/COLCON_IGNORE: *empty_repo
8+
ros2/rmw_connext/COLCON_IGNORE: *empty_repo
9+
10+
ros2/rosidl_typesupport_fastrtps/COLCON_IGNORE: *empty_repo
11+
ros2/rmw_fastrtps/COLCON_IGNORE: *empty_repo
12+
13+
ros2/rosidl_typesupport_opensplice/COLCON_IGNORE: *empty_repo
14+
ros2/rmw_opensplice/COLCON_IGNORE: *empty_repo

Diff for: .github/workflows/CI.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ jobs:
1313
# azure ubuntu repo can be flaky so add an alternate source
1414
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
1515
- name: Acquire ROS dependencies
16-
uses: ros-tooling/[email protected].19
16+
uses: ros-tooling/[email protected].20
1717
- name: Build and test ROS
18-
uses: ros-tooling/[email protected].15
18+
uses: ros-tooling/[email protected].16
1919
with:
2020
package-name: rmw_cyclonedds_cpp
21-
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/${{ matrix.rosdistro }}/ros2.repos
21+
vcs-repo-file-url: >
22+
https://raw.githubusercontent.com/ros2/ros2/${{ matrix.rosdistro }}/ros2.repos
23+
https://raw.githubusercontent.com/${{github.repository}}/${{github.sha}}/.github/resources/suppress_other_rmw.repos

0 commit comments

Comments
 (0)