-
Notifications
You must be signed in to change notification settings - Fork 153
50 lines (41 loc) · 1.23 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
48
49
50
name: build
on: pull_request
jobs:
noetic_build:
runs-on: ubuntu-20.04
container: ros:noetic
services:
ros:
image: ros
defaults:
run:
shell: bash
steps:
- name: checkout
uses: actions/checkout@v1
- name: rosdep update
run: |
apt-get update
rosdep update
- name: Create Workspace
run: |
mkdir -p ~/eagleye/src/
cp -r `pwd` ~/eagleye/src/
- name: Clone submodules
run: |
cd ~/eagleye/src/
apt-get install git -y
git clone https://github.com/MapIV/rtklib_ros_bridge.git
git clone https://github.com/MapIV/kml_generator
git clone https://github.com/MapIV/multi_rosbag_controller.git
git clone https://github.com/MapIV/llh_converter
git clone https://github.com/MapIV/gnss_compass_ros.git
- name: Install GeographicLib
run: |
apt-get install -y libgeographic-dev geographiclib-tools geographiclib-doc
- name: Build
run: |
cd ~/eagleye/
source /opt/ros/noetic/setup.bash
rosdep install --from-paths src --ignore-src -r -y
catkin_make -DCMAKE_BUILD_TYPE=Release -j2