Skip to content

Commit 4bf7298

Browse files
committed
Add CI workflow for ROS 2 Humble and repository dependencies
1 parent 8e6be05 commit 4bf7298

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/ci_humble.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: ci_humble
2+
3+
on:
4+
push:
5+
branches:
6+
- "humble"
7+
pull_request:
8+
types: [opened, synchronize, labeled]
9+
10+
jobs:
11+
ci:
12+
runs-on: ${{ matrix.os }}
13+
if: |
14+
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING') && (github.base_ref == 'humble' )) ||
15+
((github.event.action == 'synchronize') && (github.base_ref == 'humble') && contains(github.event.pull_request.labels.*.name, 'TESTING')) ||
16+
(github.ref_name == 'humble')
17+
container:
18+
image: rostooling/setup-ros-docker:ubuntu-${{ matrix.os_distro }}-ros-${{ matrix.ros_distribution }}-ros-base-latest
19+
timeout-minutes: 20
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
os: [ubuntu-22.04]
24+
os_distro: [jammy]
25+
ros_distribution: [humble]
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: ros-tooling/setup-ros@v0.7
29+
- name: Build and Test
30+
uses: ros-tooling/action-ros-ci@v0.3
31+
with:
32+
target-ros2-distro: ${{ matrix.ros_distribution }}
33+
import-token: ${{ secrets.GITHUB_TOKEN }}
34+
vcs-repo-file-url: build_depends.repos
35+
package-name: |
36+
paa5160e1_driver
37+
paa5160e1_driver_bringup
38+
paa5160e1_driver_node

build_depends.repos

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repositories:
2+
h6x_serial_interface:
3+
type: git
4+
url: https://github.com/HarvestX/h6x_serial_interface.git
5+
version: humble

0 commit comments

Comments
 (0)