Skip to content

Commit adf3f83

Browse files
authored
Added CI (#198)
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
1 parent a0a47f3 commit adf3f83

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/workflows/ros2-ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
industrial_ci:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
env:
11+
- {ROS_DISTRO: rolling, ROS_REPO: testing}
12+
- {ROS_DISTRO: rolling, ROS_REPO: main}
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: 'ros-industrial/industrial_ci@master'
17+
env: ${{matrix.env}}

.github/workflows/style.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: style
2+
on:
3+
pull_request:
4+
push:
5+
branches: [ rolling ]
6+
defaults:
7+
run:
8+
shell: bash
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
distro: ['rolling']
16+
container:
17+
image: ros:${{ matrix.distro }}-ros-base
18+
timeout-minutes: 30
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: uncrustify
22+
run: /ros_entrypoint.sh ament_uncrustify compressed_depth_image_transport/ compressed_image_transport/ theora_image_transport/ zstd_image_transport/ image_transport_plugins/
23+
- name: cpplint
24+
run: /ros_entrypoint.sh ament_cpplint compressed_depth_image_transport/ compressed_image_transport/ theora_image_transport/ zstd_image_transport/ image_transport_plugins/

0 commit comments

Comments
 (0)