Skip to content

Commit

Permalink
Add GitHub action to build the code on humble PRs (#3)
Browse files Browse the repository at this point in the history
* Add GitHub action to build the code on humble PRs
* Add missing dependencies
* Skip tests on CI workflow
To disable in the future when fix the problem of the tests
* Add build status badges
* Add CODEOWNERS
  • Loading branch information
mateusmenezes95 authored Dec 12, 2023
1 parent 66ac759 commit 18aad3e
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @mateusmenezes95
20 changes: 20 additions & 0 deletions .github/workflows/humble-source-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Humble Source Build

on:
pull_request:
branches:
- humble

jobs:
humble_source_build:
runs-on: ubuntu-22.04
steps:
- uses: ros-tooling/setup-ros@v0.7
with:
rosdistro: humble
- uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: omnidirectional_controllers
ref: ${{ github.event.pull_request.head.sha }}
target-ros2-distro: humble
skip-tests: true
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ set(THIS_PACKAGE_INCLUDE_DEPENDS
rclcpp_lifecycle
rclcpp
tf2_msgs
tf2
tf2_ros
tf2
)

find_package(ament_cmake REQUIRED)
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ This package provides ROS 2 controllers for controlling Omnidirectional robots w
**Author:** Mateus Menezes<br />
**Maintainer:** Mateus Menezes, mateusmenezes95@gmail.com

## Build status

ROS2 Distro | Branch | Build status |
:---------: | :----: | :----------: |
**Humble** | [`humble`](https://github.com/mateusmenezes95/omnidirectional_controllers/tree/humble) | [![Build From Source](https://github.com/mateusmenezes95/omnidirectional_controllers/actions/workflows/humble-source-build.yaml/badge.svg)](https://github.com/mateusmenezes95/omnidirectional_controllers/actions/workflows/humble-source-build.yaml)

## Installation Premises

1. This repository has been tested on [ROS2 Foxy] and with [Classic Gazebo 11];
Expand Down
4 changes: 3 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
<depend>rclcpp_lifecycle</depend>
<depend>rclcpp</depend>
<depend>tf2_msgs</depend>
<depend>tf2_ros</depend>
<depend>tf2</depend>

<test_depend>ament_add_gmock</test_depend>
<test_depend>ament_cmake_gmock</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>controller_manager</test_depend>
Expand Down

0 comments on commit 18aad3e

Please sign in to comment.