forked from XDU-IRobot/rm_referee_ros2
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 851 Bytes
/
build.yaml
File metadata and controls
33 lines (29 loc) · 851 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
name: build
on: [push, pull_request]
env:
BUILD_TYPE: Release
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- ros_distro: humble
docker_image: osrf/ros:humble-desktop
- ros_distro: iron
docker_image: osrf/ros:iron-desktop
- ros_distro: jazzy
docker_image: osrf/ros:jazzy-desktop
- ros_distro: rolling
docker_image: osrf/ros:rolling-desktop
runs-on: ubuntu-latest
container:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
token: ${{ secrets.CI }}
- name: Build
shell: bash
run: source /opt/ros/${{ matrix.ros_distro }}/setup.sh;colcon build --cmake-args -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}