-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 968 Bytes
/
colcon_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Colcon Build
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
colcon-build:
strategy:
fail-fast: false
matrix: # We will have to keep it up-to-date with <https://docs.ros.org/en/foxy/Releases.html>
include:
- ros2-version: humble
os: ubuntu-22.04
- ros2-version: iron
os: ubuntu-22.04
- ros2-version: jazzy
os: ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros2-version }}
- uses: ros-tooling/action-ros-ci@v0.3
with:
target-ros2-distro: ${{ matrix.ros2-version }}
package-name: ros2autodoc
skip-tests: true
- uses: actions/upload-artifact@v4
with:
name: colcon_build_logs
path: ros_ws/${{ matrix.ros2-version }}/${{ matrix.os }}/log