-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (46 loc) · 1.35 KB
/
ubuntu_22_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
52
53
54
name: Ubuntu 22.04 build with debian ros packages along with source packages
on:
push:
workflow_dispatch:
jobs:
ubuntu2204:
runs-on: ubuntu-22.04
env:
# roslibrust needs this set
ROS_PACKAGE_PATH: /usr/share
steps:
- name: git clone this
uses: actions/checkout@v4
with:
path: catkin_ws/src/ros_one2z
- name: os version
run: |
lsb_release -a
- name: apt update
run: |
sudo apt-get update
- name: apt upgrade
run: |
sudo apt-get upgrade
- name: apt rust installs
run: |
sudo apt-get install -yqq cargo
sudo apt-get install -yqq rustc
cargo --version
rustc --version
- name: apt ros installs
run: |
sudo apt-get install -yqq libgeometry-msgs-dev
sudo apt-get install -yqq libstd-msgs-dev
sudo apt-get install -yqq ros-geometry-msgs
sudo apt-get install -yqq ros-std-msgs
sudo apt-get install -yqq rospack-tools
# TODO(lucasw) replace with corrosion + cmake building?
- name: rust cargo build
run: |
cd catkin_ws/src/ros_one2z/ros1_rlr
echo $ROS_PACKAGE_PATH
rospack find geometry_msgs
rospack find std_msgs
cargo build
cargo build --release