Skip to content

Commit

Permalink
try fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygerardmoore committed Jan 29, 2025
1 parent 14b292a commit 1d94541
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

FROM osrf/ros:humble-desktop-full

SHELL ["/bin/bash", "-c"]

# Install external packages.
# hadolint ignore=DL3008
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
Expand All @@ -24,7 +26,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update && apt-get upgrade -y && \
. /opt/ros/humble/setup.sh && \
rosdep install --from-paths src -y --ignore-src && \
colcon build --mixin compile-commands coverage-gcc coverage-pytest
# tf2_2d testing build fails due to upstream tf2 changes, it seems
colcon build --mixin compile-commands coverage-gcc coverage-pytest build-testing-off --packages-select tf2_2d && \
source install/setup.bash && \
colcon build --mixin compile-commands coverage-gcc coverage-pytest --packages-ignore tf2_2d

# Set up final environment and entrypoint.
ENV RMW_IMPLEMENTATION rmw_cyclonedds_cpp
Expand Down

0 comments on commit 1d94541

Please sign in to comment.