Skip to content

Commit b3c7ac2

Browse files
[.github] Add general ROS 2 workflows (#58)
Add general ROS 2 workflows
1 parent e2ffad9 commit b3c7ac2

File tree

3 files changed

+111
-0
lines changed

3 files changed

+111
-0
lines changed

.github/workflows/iron.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build-iron
2+
3+
on:
4+
push:
5+
branches:
6+
- iron
7+
pull_request:
8+
branches:
9+
- iron
10+
workflow_dispatch:
11+
12+
# Limit jobs run by PRs or branches by cancelling ongoing jobs
13+
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
iron:
20+
strategy:
21+
matrix:
22+
env:
23+
- {ROS_DISTRO: iron, ROS_REPO: main}
24+
- {ROS_DISTRO: iron, ROS_REPO: testing}
25+
runs-on: ubuntu-22.04
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
submodules: recursive
30+
- name: Prepare Workspace
31+
run: |
32+
rm \
33+
interbotix_ros_common_drivers/COLCON_IGNORE \
34+
interbotix_ros_slate/COLCON_IGNORE \
35+
interbotix_ros_xseries/COLCON_IGNORE
36+
- uses: ros-industrial/industrial_ci@master
37+
env: ${{matrix.env}}

.github/workflows/jazzy.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build-jazzy
2+
3+
on:
4+
push:
5+
branches:
6+
- jazzy
7+
pull_request:
8+
branches:
9+
- jazzy
10+
workflow_dispatch:
11+
12+
# Limit jobs run by PRs or branches by cancelling ongoing jobs
13+
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
jazzy:
20+
strategy:
21+
matrix:
22+
env:
23+
- {ROS_DISTRO: jazzy, ROS_REPO: main}
24+
- {ROS_DISTRO: jazzy, ROS_REPO: testing}
25+
runs-on: ubuntu-24.04
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
submodules: recursive
30+
- name: Prepare Workspace
31+
run: |
32+
rm \
33+
interbotix_ros_common_drivers/COLCON_IGNORE \
34+
interbotix_ros_slate/COLCON_IGNORE \
35+
interbotix_ros_xseries/COLCON_IGNORE
36+
- uses: ros-industrial/industrial_ci@master
37+
env: ${{matrix.env}}

.github/workflows/rolling.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build-rolling
2+
3+
on:
4+
push:
5+
branches:
6+
- rolling
7+
pull_request:
8+
branches:
9+
- rolling
10+
workflow_dispatch:
11+
12+
# Limit jobs run by PRs or branches by cancelling ongoing jobs
13+
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
rolling:
20+
strategy:
21+
matrix:
22+
env:
23+
- {ROS_DISTRO: rolling, ROS_REPO: main}
24+
- {ROS_DISTRO: rolling, ROS_REPO: testing}
25+
runs-on: ubuntu-24.04
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
submodules: recursive
30+
- name: Prepare Workspace
31+
run: |
32+
rm \
33+
interbotix_ros_common_drivers/COLCON_IGNORE \
34+
interbotix_ros_slate/COLCON_IGNORE \
35+
interbotix_ros_xseries/COLCON_IGNORE
36+
- uses: ros-industrial/industrial_ci@master
37+
env: ${{matrix.env}}

0 commit comments

Comments
 (0)