Skip to content

Commit 42f566b

Browse files
committed
.github: basic workflow for ROS Noetic
1 parent cd4611e commit 42f566b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: [push]
2+
3+
jobs:
4+
noetic:
5+
runs-on: ubuntu-latest
6+
name: "ROS Noetic"
7+
container:
8+
image: ros:noetic-ros-core
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v5
12+
with:
13+
path: src/rosmon
14+
- name: "Install dependencies"
15+
run: |
16+
apt update
17+
apt install python3-colcon-common-extensions
18+
rosdep install --ignore-src --from-paths src -y
19+
- name: Compile
20+
colcon build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo
21+
- name: Test
22+
colcon test

0 commit comments

Comments
 (0)