-
Notifications
You must be signed in to change notification settings - Fork 28
49 lines (43 loc) · 1.1 KB
/
lidarbot_ci_action.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
name: ROS2 CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Setup ROS2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: Install WiringPi i2c library for RPi 4
uses: actions/checkout@v3
- run: |
mkdir Downloads
git clone https://github.com/wbeebe/WiringPi.git
cd WiringPi/
./build
- name: Install dependencies for MPU6050 C++ library
run: sudo apt install libi2c-dev i2c-tools libi2c0
- name: Build Lidarbot packages
uses: ros-tooling/[email protected]
with:
package-name: |
lidarbot
lidarbot_base
lidarbot_bringup
lidarbot_description
lidarbot_gazebo
lidarbot_navigation
lidarbot_slam
lidarbot_teleop
target-ros2-distro: humble
skip-tests: true
- name: Upload Logs
uses: actions/upload-artifact@v1
with:
name: colcon-logs
path: ros_ws/log
if: always()