File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -120,13 +120,16 @@ jobs:
120120 ubuntu_distro : noble
121121
122122 steps :
123- - name : Setup ROS repository
123+ - name : Setup ROS repository and install base ROS
124124 run : |
125125 apt-get update -qq
126126 apt-get install -y curl gnupg lsb-release
127127 curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
128128 echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2.list
129129 apt-get update -qq
130+
131+ # Install minimal ROS to get /opt/ros and basic infrastructure
132+ apt-get install -y ros-${{ matrix.ros_distro }}-ros-core
130133 shell : bash
131134 env :
132135 DEBIAN_FRONTEND : noninteractive
@@ -143,7 +146,7 @@ jobs:
143146 echo "Smoke testing install on ROS2 ${{ matrix.ros_distro }}"
144147 ls -la debian_packages/${{ matrix.ros_distro }}/
145148
146- # Install the debian packages (apt will pull in ROS dependencies automatically)
149+ # Install the debian packages on top of ros-core
147150 apt-get install -y ./debian_packages/${{ matrix.ros_distro }}/ros-${{ matrix.ros_distro }}-greenwave-monitor-interfaces_*.deb ./debian_packages/${{ matrix.ros_distro }}/ros-${{ matrix.ros_distro }}-greenwave-monitor_*.deb ./debian_packages/${{ matrix.ros_distro }}/ros-${{ matrix.ros_distro }}-r2s-gw_*.deb
148151
149152 # Verify packages are installed
You can’t perform that action at this time.
0 commit comments