Skip to content

Commit b84222a

Browse files
committed
ci: update gazebo setup setp
1 parent 5d49f88 commit b84222a

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ros2_launch_tests.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ jobs:
4141
4242
- name: Install Gazebo and dependencies
4343
run: |
44+
# First install libunwind-dev to satisfy dependency requirements
4445
sudo apt-get update
46+
sudo apt-get install -y libunwind-dev
47+
48+
# Then install the rest of the packages
4549
sudo apt-get install -y python3-pip python3-pytest-timeout python3-pytest-cov \
4650
ros-humble-launch-testing ros-humble-launch-testing-ament-cmake \
4751
ros-humble-gazebo-ros-pkgs ros-humble-gazebo-ros ros-humble-xacro \
4852
ros-humble-joint-state-publisher ros-humble-robot-state-publisher \
49-
ros-humble-nav2-msgs ros-humble-turtlebot3*
50-
sudo apt-get install -y gazebo libgazebo-dev
51-
# Install any additional dependencies your project needs
53+
ros-humble-nav2-msgs ros-humble-turtlebot3-msgs
54+
55+
# Install Gazebo separately with --fix-broken option
56+
sudo apt-get install -y --fix-broken gazebo libgazebo-dev
5257
5358
- name: Setup Python dependencies
5459
run: |

0 commit comments

Comments
 (0)