Skip to content

Commit

Permalink
[Spinal][GA] Add catkin build part to generate ros_lib for Spinal fir…
Browse files Browse the repository at this point in the history
…mware.
  • Loading branch information
sugihara-16 committed Nov 3, 2024
1 parent 8295d07 commit e6feb0d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/spinal_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit e6feb0d

Please sign in to comment.