Skip to content

Commit 7fe02a2

Browse files
committed
CI: update gz harmonic workflow to enforce using harmonic version
1 parent 141341d commit 7fe02a2

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/ros2_gz_harmonic_launch_tests.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,27 @@ jobs:
6363
# # Install Gazebo separately with --fix-broken option
6464
# sudo apt-get install -y --fix-broken gazebo libgazebo-dev
6565

66-
- name: Install Gazebo and dependencies
66+
- name: Install Gazebo Harmonic and dependencies
6767
run: |
6868
sudo apt-get install -y ros-humble-xacro ros-humble-ros-gz-sim
6969
sudo apt remove ros-humble-ros-gzharmonic-bridge ros-humble-ros-gzharmonic-interfaces ros-humble-ros-gzharmonic-sim
7070
sudo apt-get install ros-humble-as2-gazebo-assets ros-humble-as2-platform-gazebo ros-humble-ros-gz-image
7171
sudo apt-get install -y ros-humble-as2-gazebo-assets ros-humble-as2-state-estimator
7272
sudo apt-get install -y ros-humble-as2-motion-controller ros-humble-as2-behaviors-motion
73-
sudo apt-get install -y --fix-broken gazebo libgazebo-dev
73+
74+
- name: Install Gazebo classic and resolve version conflicts
75+
run: |
76+
sudo add-apt-repository ppa:openrobotics/gazebo11-gz-cli
77+
sudo apt update
78+
sudo apt-get install gazebo11
79+
80+
# Resolve version conflicts
81+
sudo apt-get remove libgazebo11
82+
sudo apt-get install libgazebo11=11.10.2+dfsg-1
83+
sudo apt-get install libgazebo-dev
84+
85+
- name: "Test Gazebo installation"
86+
run: "gz sim --versions"
7487

7588
- name: Rename Launch Files
7689
run: |

0 commit comments

Comments
 (0)