Skip to content

Commit 811a069

Browse files
committed
Added github ci
Signed-off-by: Sungho Woo <[email protected]>
1 parent cc65d30 commit 811a069

File tree

3 files changed

+566
-44
lines changed

3 files changed

+566
-44
lines changed

.github/workflows/ros-ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: ros-ci
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
on:
5+
push:
6+
branches: [ humble ]
7+
pull_request:
8+
branches: [ humble ]
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
humblel:
13+
runs-on: ubuntu-22.04
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ros_distribution:
18+
- humble
19+
include:
20+
- docker_image: ubuntu:jammy
21+
ros_distribution: humble
22+
ros_version: 2
23+
# # Rolling
24+
# - docker_image: ubuntu:jammy
25+
# ros_distribution: rolling
26+
# ros_version: 2
27+
container:
28+
image: ${{ matrix.docker_image }}
29+
steps:
30+
- name: Setup directories
31+
run: mkdir -p ros_ws/src
32+
- name: checkout
33+
uses: actions/checkout@v3
34+
with:
35+
path: ros_ws/src
36+
- name: Setup ROS environment
37+
uses: ros-tooling/[email protected]
38+
with:
39+
required-ros-distributions: ${{ matrix.ros_distribution }}
40+
- name: Build and Test
41+
uses: ros-tooling/[email protected]
42+
with:
43+
package-name: dynamixel_hardware_interface
44+
target-ros2-distro: ${{ matrix.ros_distribution }}
45+
vcs-repo-file-url: "https://raw.githubusercontent.com/ROBOTIS-GIT/dynamixel_hardware_interface/humble/dynamixel_hardware_interface_ci.repos"

0 commit comments

Comments
 (0)