diff --git a/.github/workflows/spinal_build.yml b/.github/workflows/spinal_build.yml index 325263c3c..2666ec1cb 100644 --- a/.github/workflows/spinal_build.yml +++ b/.github/workflows/spinal_build.yml @@ -25,6 +25,22 @@ jobs: # submodules too submodules: recursive + - name: Install ROS packages with rosdep + run: | + source /opt/ros/$ROS_DISTRO/setup.bash + sudo rosdep init + rosdep update + mkdir -p ~/catkin_ws/src + ln -s $GITHUB_WORKSPACE ~/catkin_ws/src/jsk_aerial_robot + cd ~/catkin_ws + rosdep install --from-paths src --ignore-src -r -s # do a dry-run first + rosdep install --from-paths src --ignore-src -r -y + - name Build ROS Package + run: | + source /opt/ros/$ROS_DISTRO/setup.bash + cd ~/catkin_ws + catkin build --no-status spinal + source devel/setup.bash - name: Build project run: | /opt/st/stm32cubeide_1.8.0/stm32cubeide -nosplash \