-
Notifications
You must be signed in to change notification settings - Fork 148
47 lines (42 loc) · 1.18 KB
/
build.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
name: build
on: pull_request
jobs:
humble_build:
runs-on: ubuntu-22.04
container: ros:humble
services:
ros:
image: ros
defaults:
run:
shell: bash
steps:
- name: checkout
uses: actions/checkout@v1
with:
submodules: true
- name: rosdep update
run: |
apt-get update
rosdep update
- name: Create Workspace
run: |
mkdir -p ~/eagleye/src/
cp -r `pwd` ~/eagleye/src/
- name: Clone rtklib_msgs
run: |
cd ~/eagleye/src/
git clone https://github.com/MapIV/rtklib_ros_bridge.git -b ros2-v0.1.0
- name: Clone llh_converter
run: |
cd ~/eagleye/src/
git clone https://github.com/MapIV/llh_converter.git -b ros2
- name: Install GeographicLib
run: |
apt-get install -y libgeographic-dev geographiclib-tools geographiclib-doc
- name: Build
run: |
cd ~/eagleye/
source /opt/ros/humble/setup.bash
rosdep install --from-paths src --ignore-src -r -y
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --catkin-skip-building-tests