-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (37 loc) · 914 Bytes
/
build.yml
File metadata and controls
39 lines (37 loc) · 914 Bytes
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
37
38
39
---
name: Build and test
"on":
pull_request:
push:
branches:
- main
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ros: humble
ubuntu: jammy
- ros: jazzy
ubuntu: noble
- ros: kilted
ubuntu: noble
- ros: rolling
ubuntu: noble
name: ROS 2 ${{ matrix.ros }}
container:
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-${{ matrix.ubuntu }}:latest
env:
ROS_DISTRO: ${{ matrix.ros }}
PIP_BREAK_SYSTEM_PACKAGES: 1
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/action-ros-ci@v0.4
with:
target-ros2-distro: ${{ matrix.ros }}
- uses: actions/upload-artifact@v4
with:
name: colcon-logs-${{ matrix.ros }}
path: ros_ws/log