File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments