-
Notifications
You must be signed in to change notification settings - Fork 653
46 lines (44 loc) · 1.29 KB
/
basic-build-ci.yaml
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
40
41
42
43
44
45
46
name: Basic Build Workflow
on:
- pull_request
- push
jobs:
build-ros2-latest:
runs-on: ubuntu-22.04
strategy:
matrix:
image:
- rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
- rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
ros-version:
- iron
- rolling
exclude:
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
ros-version: rolling
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
ros-version: iron
fail-fast: false
container:
image: ${{ matrix.image }}
steps:
- name: Build Environment
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros-version }}
- name: Run Tests
uses: ros-tooling/[email protected]
with:
package-name: |
velodyne
velodyne_driver
velodyne_laserscan
velodyne_msgs
velodyne_pointcloud
target-ros2-distro: ${{ matrix.ros-version }}
- name: Upload logs
uses: actions/upload-artifact@v1
with:
name: colcon-logs
path: ros_ws/log
if: always()