Skip to content

Commit bf67bd1

Browse files
Use rosdep to install deps
1 parent 64a8dfd commit bf67bd1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,19 @@ jobs:
4242
restore-keys: |
4343
ccache-cmake-${{ matrix.ros_distro }}-${{ matrix.preset }}-${{ github.sha }}
4444
ccache-cmake-${{ matrix.ros_distro }}-${{ matrix.preset }}
45-
- name: Install dependencies
45+
- name: Install system dependencies
4646
run: |
4747
sudo apt update
4848
sudo apt install -y lld ccache
4949
- name: Source ROS
5050
run: |
5151
. /opt/ros/${{ matrix.ros_distro }}/setup.sh
5252
echo "$(env)" >> $GITHUB_ENV
53+
- name: Install ROS dependencies
54+
run: |
55+
sudo apt update
56+
rosdep update
57+
rosdep install --from-paths src --ignore-src -r -y
5358
- name: Install Clang
5459
if: matrix.compiler.name == 'Clang'
5560
run: sudo apt update && sudo apt install clang

0 commit comments

Comments
 (0)