File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 4949 with :
5050 required-ros-distributions : ${{ matrix.ros_distribution }}
5151
52+ - name : Check and Install ROS dependencies
53+ shell : bash
54+ run : |
55+ set -e
56+ source /opt/ros/${{ matrix.ros_distribution }}/setup.bash
57+ echo "--- Updating rosdep definitions ---"
58+ rosdep update
59+ echo "--- Installing system dependencies for ROS 2 ${{ matrix.ros_distribution }} ---"
60+ rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }}
61+ echo "--- Performing rosdep check for ROS 2 ${{ matrix.ros_distribution }} ---"
62+ if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }}; then
63+ echo "--- rosdep check passed ---"
64+ else
65+ echo "--- rosdep check failed: Missing system dependencies or unresolvable keys. ---"
66+ exit 1
67+ fi
68+
5269 - name : Build and Test
5370 uses :
ros-tooling/[email protected] 5471 with :
You can’t perform that action at this time.
0 commit comments