Skip to content

Commit 5ace1f5

Browse files
committed
CI: ROS
1 parent 57b5d84 commit 5ace1f5

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.github/workflows/ros_ci.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
2+
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
3+
4+
name: CI - Linux via ROS
5+
6+
# This determines when this workflow is run
7+
on:
8+
push:
9+
paths-ignore:
10+
- '*.md'
11+
- 'LICENSE'
12+
- '.pre-commit-config.yaml'
13+
pull_request:
14+
paths-ignore:
15+
- '*.md'
16+
- 'LICENSE'
17+
- '.pre-commit-config.yaml'
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
jobs:
23+
CI:
24+
strategy:
25+
matrix:
26+
env:
27+
- {ROS_DISTRO: humble}
28+
- {ROS_DISTRO: jazzy}
29+
- {ROS_DISTRO: kilted}
30+
- {ROS_DISTRO: rolling}
31+
env:
32+
# PRERELEASE: true # Fails due to issues in the underlying Docker image
33+
BUILDER: colcon
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v4
37+
with:
38+
submodules: recursive
39+
# Run industrial_ci
40+
- uses: 'ros-industrial/industrial_ci@e3d16c224caf4832cf68e74093eb70f3a979b4cc'
41+
env: ${{ matrix.env }}
42+
43+
check:
44+
if: always()
45+
name: check-ros-ci
46+
47+
needs:
48+
- CI
49+
50+
runs-on: Ubuntu-latest
51+
52+
steps:
53+
- name: Decide whether the needed jobs succeeded or failed
54+
uses: re-actors/alls-green@release/v1
55+
with:
56+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)