Skip to content

Commit f85d3eb

Browse files
committed
CI: Harmonic workflow, add step to setup aerostack2 from source
1 parent 7fe02a2 commit f85d3eb

1 file changed

Lines changed: 13 additions & 24 deletions

File tree

.github/workflows/ros2_gz_harmonic_launch_tests.yaml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -47,30 +47,6 @@ jobs:
4747
- name: "Test Gazebo installation"
4848
run: "gz sim --versions"
4949

50-
# - name: Install Gazebo and dependencies
51-
# run: |
52-
# # First install libunwind-dev to satisfy the dependency requirements
53-
# sudo apt-get update
54-
# sudo apt-get install -y libunwind-dev
55-
56-
# # Then install the rest of the packages
57-
# sudo apt-get install -y python3-pip python3-pytest-timeout python3-pytest-cov \
58-
# ros-humble-launch-testing ros-humble-launch-testing-ament-cmake \
59-
# ros-humble-gazebo-ros-pkgs ros-humble-gazebo-ros ros-humble-xacro \
60-
# ros-humble-joint-state-publisher ros-humble-robot-state-publisher \
61-
# ros-humble-nav2-msgs ros-humble-turtlebot3-msgs
62-
63-
# # Install Gazebo separately with --fix-broken option
64-
# sudo apt-get install -y --fix-broken gazebo libgazebo-dev
65-
66-
- name: Install Gazebo Harmonic and dependencies
67-
run: |
68-
sudo apt-get install -y ros-humble-xacro ros-humble-ros-gz-sim
69-
sudo apt remove ros-humble-ros-gzharmonic-bridge ros-humble-ros-gzharmonic-interfaces ros-humble-ros-gzharmonic-sim
70-
sudo apt-get install ros-humble-as2-gazebo-assets ros-humble-as2-platform-gazebo ros-humble-ros-gz-image
71-
sudo apt-get install -y ros-humble-as2-gazebo-assets ros-humble-as2-state-estimator
72-
sudo apt-get install -y ros-humble-as2-motion-controller ros-humble-as2-behaviors-motion
73-
7450
- name: Install Gazebo classic and resolve version conflicts
7551
run: |
7652
sudo add-apt-repository ppa:openrobotics/gazebo11-gz-cli
@@ -82,6 +58,19 @@ jobs:
8258
sudo apt-get install libgazebo11=11.10.2+dfsg-1
8359
sudo apt-get install libgazebo-dev
8460
61+
- name: Install aerostack2 and dependencies
62+
run: |
63+
sudo apt-get install -y ros-humble-xacro ros-humble-ros-gz-sim
64+
sudo apt-get install -y ros-humble-geographic-msgs libgeographic-dev ros-humble-mocap4r2-msgs
65+
sudo apt install git python3-rosdep python3-pip python3-colcon-common-extensions -y
66+
67+
mkdir -p ./aerostack2_ws/src/ && cd ./aerostack2_ws/src/
68+
git clone https://github.com/aerostack2/aerostack2.git
69+
cd ..
70+
sudo rosdep init
71+
rosdep update
72+
rosdep install -y -r -q --from-paths src --ignore-src
73+
8574
- name: "Test Gazebo installation"
8675
run: "gz sim --versions"
8776

0 commit comments

Comments
 (0)