Skip to content

Commit c3f6d2f

Browse files
committed
added ci_humble_and_later
1 parent 2a5bb03 commit c3f6d2f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build repo on ROS2 matrix
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
repo:
7+
required: true
8+
type: string
9+
vcs_url:
10+
required: false
11+
type: string
12+
13+
jobs:
14+
build_on_noble:
15+
name: build_noble_${{ matrix.distro }}
16+
runs-on: ubuntu-latest
17+
container:
18+
image: ubuntu:noble
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
#distro: [jazzy, rolling]
23+
distro: [rolling]
24+
steps:
25+
- uses: actions/checkout@v4
26+
# with:
27+
# path: src/${{ inputs.repo }}
28+
# fetch-depth: 0
29+
- uses: ros-tooling/[email protected]
30+
with:
31+
required-ros-distributions: ${{ matrix.distro }}
32+
- uses: ros-tooling/[email protected]
33+
with:
34+
target-ros2-distro: ${{ matrix.distro }}
35+
vcs-repo-file-url: ${{ inputs.vcs_url }}
36+
colcon-defaults: |
37+
{
38+
"build": {
39+
"cmake-args": [
40+
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
41+
]
42+
}
43+
}

0 commit comments

Comments
 (0)