-
Notifications
You must be signed in to change notification settings - Fork 16
49 lines (41 loc) · 1.29 KB
/
ubuntu_24_04.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Ubuntu 24.04 Noetic ROS build from source in docker
on:
push:
workflow_dispatch:
jobs:
ubuntu2404dockeron2204:
runs-on: ubuntu-24.04
# env:
steps:
- name: git clone [email protected]:lucasw/ros_from_src
uses: actions/checkout@v4
with:
path: ros_from_src
submodules: recursive
- name: local apt dependencies
run: |
mkdir staging
cd staging
mkdir -p underlay_ws/src
cp ../ros_from_src/*sh underlay_ws
sudo underlay_ws/dependencies.sh
- name: local git dependencies
run: |
cd staging
cp ../ros_from_src/*yaml underlay_ws/src
# override rosconsole in 20.04 for log4cxx compatibility
ROSCONSOLE=https://github.com/ros/rosconsole underlay_ws/git_clone.sh
- name: local build
run: |
cd staging
underlay_ws/build.sh
- name: local catkin build
run: |
cd staging
underlay_ws/catkin.sh
- name: docker build from source 24.04
run: |
cd ros_from_src
docker build --build-arg IMAGE=ubuntu:24.04 . -t ros2404
# TODO(lucasw) ubuntu_2404/Dockerfile doesn't work, was depending on the now-removed
# apt debian science ros packages