Skip to content

Commit e80517e

Browse files
committed
perform the ci in a container
1 parent 937674b commit e80517e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ros-build-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
matrix:
1616
build_type: [ Release ]
1717

18-
# environment: regular Ubuntu with a vanilla ROS container
18+
# environment: regular Ubuntu with container
1919
runs-on: ubuntu-24.04
20+
container:
21+
image: ubuntu:24.04
2022

2123
steps:
2224
- name: Environment Info
@@ -35,11 +37,11 @@ jobs:
3537
curl -sSL https://ros.packages.techfak.net/gpg.key -o /etc/apt/keyrings/ros-one-keyring.gpg
3638
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/ros-one-keyring.gpg] https://ros.packages.techfak.net $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros1.list
3739
apt update
38-
apt install python3-rosdep
40+
apt install -y python3-rosdep
3941
rosdep init
4042
echo "yaml https://ros.packages.techfak.net/ros-one.yaml one" | sudo tee /etc/ros/rosdep/sources.list.d/1-ros-one.list
4143
rosdep update
42-
apt install ros-one-desktop
44+
apt install -y ros-one-desktop
4345
4446
- name: Pinocchio from robotpkg
4547
run: |

0 commit comments

Comments
 (0)