Skip to content

Commit

Permalink
build package and source before sphinx build
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Poignonec committed Jun 13, 2024
1 parent 9e1cae6 commit 175e952
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,21 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq python3-sphinx doxygen doxygen-gui doxygen-doc graphviz plantuml tree
# BUILD PACKAGE
. /opt/ros/humble/setup.sh
git config --global --add safe.directory '*'
git submodule update --init --recursive
vcs import . < acados_solver_ros2.repos
tree -L 4
rosdep install --ignore-src --from-paths . -y -r
colcon build
colcon build
# INSTALL SPHINX PYTHON DEPENDENCIES
cd ./acados_solver_ros2/
pip install -r requirements.txt
- name: Build documentation
run: |
source install/setup.bash
cd ./acados_solver_ros2
sphinx-build -b html sphinx sphinx/_build
cd ../
Expand Down

0 comments on commit 175e952

Please sign in to comment.