Skip to content

Commit

Permalink
Setup CI both branches
Browse files Browse the repository at this point in the history
Signed-off-by: Juancams <jc.manzanares.serrano@gmail.com>
  • Loading branch information
Juancams committed Jun 26, 2024
1 parent c9f7d45 commit 6b10e64
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/humble.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: humble

on:
push:
branches:
- humble

jobs:
ROS2:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup ROS 2 environment
uses: ros-tooling/setup-ros@0.7.0
with:
ros-distro: humble

- name: Build ROS 2 package
uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: go2_robot go2_description go2_interfaces
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/1ddb69bedfd1f04c2f000e95452f7c24a4d6176b/index.yaml
31 changes: 31 additions & 0 deletions .github/workflows/humble_devel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: humble-devel

on:
push:
branches:
- humble-devel

jobs:
ROS2:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup ROS 2 environment
uses: ros-tooling/setup-ros@0.7.0
with:
ros-distro: humble

- name: Build ROS 2 package
uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: go2_robot go2_description go2_interfaces
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/1ddb69bedfd1f04c2f000e95452f7c24a4d6176b/index.yaml

0 comments on commit 6b10e64

Please sign in to comment.