Skip to content

Commit 50bcf0f

Browse files
authored
Add Github CI workflow for Kilted (#310)
* Add CI workflow for Kilted * fix(CI): Fixed Kilted CI * fix(CI): Modernized Github CI * Fix CI badge links in README Signed-off-by: Martin Pecka <peci1@seznam.cz> * Pinned action-ros-ci to tags instead of branches. Signed-off-by: Martin Pecka <peci1@seznam.cz> --------- Signed-off-by: Martin Pecka <peci1@seznam.cz>
1 parent c6e6e8c commit 50bcf0f

5 files changed

Lines changed: 40 additions & 19 deletions

File tree

.github/workflows/humble-build-ci.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ jobs:
1212
container:
1313
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-desktop-latest
1414
steps:
15-
- name: Build Environment
16-
uses: ros-tooling/setup-ros@v0.7
17-
with:
18-
required-ros-distributions: humble
1915
- name: Run Tests
20-
uses: ros-tooling/action-ros-ci@v0.3
16+
uses: ros-tooling/action-ros-ci@0.4.5
2117
id: humble_action_ros_ci_step
2218
with:
2319
package-name: |

.github/workflows/jazzy-build-ci.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on:
55
- push
66

77
jobs:
8-
build-rolling:
8+
build-jazzy:
99
runs-on: ubuntu-24.04
1010
strategy:
1111
fail-fast: false
1212
container:
1313
image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-desktop-latest
1414
steps:
15-
- name: Build Environment
16-
uses: ros-tooling/setup-ros@v0.7
17-
with:
18-
required-ros-distributions: jazzy
1915
- name: Run Tests
20-
uses: ros-tooling/action-ros-ci@v0.3
16+
uses: ros-tooling/action-ros-ci@0.4.5
2117
id: jazzy_action_ros_ci_step
2218
with:
2319
package-name: |
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Kilted Build
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
build-kilted:
9+
runs-on: ubuntu-24.04
10+
strategy:
11+
fail-fast: false
12+
container:
13+
image: rostooling/setup-ros-docker:ubuntu-noble-ros-kilted-desktop-latest
14+
steps:
15+
- name: Run Tests
16+
uses: ros-tooling/action-ros-ci@0.4.5
17+
id: kilted_action_ros_ci_step
18+
with:
19+
package-name: |
20+
joy
21+
joy_linux
22+
sdl2_vendor
23+
spacenav
24+
wiimote
25+
wiimote_msgs
26+
target-ros2-distro: kilted
27+
- name: Upload logs
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: colcon-logs
31+
path: ${{ steps.kilted_action_ros_ci_step.outputs.ros-workspace-directory-name }}/log
32+
if: always()

.github/workflows/rolling-build-ci.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ jobs:
1212
container:
1313
image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-desktop-latest
1414
steps:
15-
- name: Build Environment
16-
uses: ros-tooling/setup-ros@v0.7
17-
with:
18-
required-ros-distributions: rolling
1915
- name: Run Tests
20-
uses: ros-tooling/action-ros-ci@v0.3
16+
uses: ros-tooling/action-ros-ci@0.4.5
2117
id: rolling_action_ros_ci_step
2218
with:
2319
package-name: |

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# ROS Joystick Drivers Stack #
22

3-
[![Humble Build](https://github.com/ros-drivers/joystick_drivers/workflows/Humble%20Build/badge.svg?branch=ros2)](https://github.com/ros-drivers/joystick_drivers/actions)
4-
[![Jazzy Build](https://github.com/ros-drivers/joystick_drivers/workflows/Jazzy%20Build/badge.svg?branch=ros2)](https://github.com/ros-drivers/joystick_drivers/actions)
5-
[![Rolling Build](https://github.com/ros-drivers/joystick_drivers/workflows/Rolling%20Build/badge.svg?branch=ros2)](https://github.com/ros-drivers/joystick_drivers/actions)
3+
[![Humble Build](https://github.com/ros-drivers/joystick_drivers/actions/workflows/humble-build-ci.yaml/badge.svg)](https://github.com/ros-drivers/joystick_drivers/actions)
4+
[![Jazzy Build](https://github.com/ros-drivers/joystick_drivers/actions/workflows/jazzy-build-ci.yaml/badge.svg)](https://github.com/ros-drivers/joystick_drivers/actions)
5+
[![Kilted Build](https://github.com/ros-drivers/joystick_drivers/actions/workflows/kilted-build-ci.yaml/badge.svg)](https://github.com/ros-drivers/joystick_drivers/actions)
6+
[![Rolling Build](https://github.com/ros-drivers/joystick_drivers/actions/workflows/rolling-build-ci.yaml/badge.svg)](https://github.com/ros-drivers/joystick_drivers/actions)
67

78
A simple set of nodes for supporting various types of joystick inputs and producing ROS messages from the underlying OS messages.
89

0 commit comments

Comments
 (0)