-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (48 loc) · 1.84 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
55
56
57
58
59
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 would need this set but going to override it anyhow
# ROS_PACKAGE_PATH: /usr/share
steps:
- name: git clone this
uses: actions/checkout@v4
with:
path: mcap_tools
- name: show source
run: |
ls -l mcap_tools/mcap_tools
- 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: more apt installs
run: |
sudo apt install -yqq python3-rosmsg rospack-tools libsensor-msgs-dev libstd-msgs-dev libgeometry-msgs-dev ros-sensor-msgs ros-std-msgs ros-geometry-msgs cargo pkg-config
sudo apt install -yqq libstd-srvs-dev python3-std-srvs ros-std-srvs
sudo apt install -yqq libtf2-msgs-dev python3-tf2-msgs ros-tf2-msgs
sudo apt install -yqq libros-rosgraph-msgs-dev python3-rosgraph-msgs ros-rosgraph-msgs
sudo apt install -yqq librust-openssl-dev
rospack find geometry_msgs
- name:
run: |
# TODO(lucasw) build docs, and run tests
cd mcap_tools/mcap_tools
ROS_PACKAGE_PATH=`rospack find actionlib_msgs`:`rospack find std_msgs`:`rospack find sensor_msgs`:`rospack find geometry_msgs`:`rospack find rosgraph_msgs`:`rospack find std_srvs`:`rospack find tf2_msgs` cargo build --release
target/release/mcap_record --version
target/release/mcap_record --help