Skip to content

Commit 189003f

Browse files
committed
CI: Add build workflow
Signed-off-by: Andrej Orsula <[email protected]>
1 parent 12ca304 commit 189003f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build_testing:
17+
runs-on: ubuntu-24.04
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
ros_distro:
22+
- humble
23+
- jazzy
24+
- rolling
25+
steps:
26+
- name: Build for ROS ${{ matrix.ros_distro }}
27+
uses: jspricke/ros-deb-builder-action@main
28+
with:
29+
DEB_DISTRO: ${{ (matrix.ros_distro == 'humble' && 'jammy') || 'noble' }}
30+
ROS_DISTRO: ${{ matrix.ros_distro }}
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)