diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce6afe646..89c9e73df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,8 +29,12 @@ jobs: working-directory: /colcon_ws/src/bitbots_meta - name: Install packages via rosdep run: | - make rosdep - working-directory: /colcon_ws/src/bitbots_meta + rosdep update + sudo apt install -y libunwind-dev + # Small hack to make rosdep install all dependencies at once + # See https://github.com/ros-infrastructure/rosdep/issues/671 + bash -c "sudo apt install -y $(rosdep check --from-paths . --ignore-src --rosdistro iron | sed -n 's/^apt\s\+//p' | tr '\n' ' ')" + working-directory: /colcon_ws/src - name: Build packages run: | . /opt/ros/iron/setup.sh