Skip to content

Commit 138a29d

Browse files
committed
Updatae ros.yml
1 parent b608129 commit 138a29d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ros.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ROS nodes
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
jobs:
10+
ros2_node:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
release: [humble, jazzy]
15+
container: osrf/ros:${{ matrix.release }}-desktop
16+
steps:
17+
- name: Setup cmake
18+
uses: jwlawson/actions-setup-cmake@v1.13
19+
with:
20+
cmake-version: "3.25.x"
21+
- uses: actions/checkout@v3
22+
- name: Run colcon
23+
run: source /opt/ros/${{ matrix.release }}/setup.bash && colcon build --event-handlers console_direct+
24+
shell: bash

0 commit comments

Comments
 (0)