-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (40 loc) · 1 KB
/
build-test.yaml
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: build-test
on:
push:
# branches:
# - main
paths-ignore:
- '**.md'
- '**.param**'
jobs:
build-and-test:
runs-on: ubuntu-latest
container: osrf/ros:humble-desktop
strategy:
matrix:
rosdistro:
- humble
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Apt update
run: |
sudo apt update -y
- name: Build Test
run: |
mkdir ../catkin_ws/src -p
cp -r ./* ../catkin_ws/src
cd ../catkin_ws
rosdep update
rosdep install -r -y --from-paths --ignore-src ./
source /opt/ros/humble/setup.bash
colcon build --symlink-install
shell: bash
# - name : Ament Cpplint
# run: |
# source /opt/ros/humble/setup.bash
# ament_cpplint src/ include/
# shell: bash
# - name : Colcon Test
# run: |
# colcon test-result --verbose