-
Notifications
You must be signed in to change notification settings - Fork 16
51 lines (45 loc) · 1.47 KB
/
ubuntu_20_04.yml
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
50
51
name: Noetic ROS build from source
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
# env:
steps:
- name: git clone [email protected]:lucasw/ros_from_src
uses: actions/checkout@v2
with:
path: ros_from_src
submodules: recursive
- name: local build
run: |
mkdir staging
cd staging
sudo ../ros_from_src/dependencies.sh
../ros_from_src/git_clone.sh
../ros_from_src/build.sh
- name: docker build 20.04
run: |
cd ros_from_src
docker build --build-arg IMAGE=ubuntu:20.04 --build-arg PYTHON_MINOR_VERSION=8 . -t ros2004
- name: docker build 22.04
run: |
cd ros_from_src
docker build --build-arg IMAGE=ubuntu:22.04 --build-arg PYTHON_MINOR_VERSION=9 . -t ros2204
# - name: deps
# run: |
# sudo apt install -y python3-nose
# sudo apt install -y googletest
# # sudo apt install -y python-catkin-pkg
# sudo apt install -y python3-empy
# sudo apt install -y google-mock
# - name: Catkin
# run: |
# ls -l
# mkdir build/catkin -p
# cd build/catkin
# cmake ../../ros/core/catkin -DCATKIN_BUILD_BINARY_PACKAGE=OFF -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic -DPYTHON_EXECUTABLE=/usr/bin/python -DSETUPTOOLS_DEB_LAYOUT=OFF
# make
# make install
# ls -l /opt/ros/noetic