-
Notifications
You must be signed in to change notification settings - Fork 50
47 lines (47 loc) · 1.58 KB
/
build_test.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
47
name: ROS2 build/tests
on:
pull_request:
jobs:
build_and_tests:
runs-on: ubuntu-20.04
strategy:
matrix:
ros_distribution:
- foxy
- galactic
- humble
include:
# Foxy Fitzroy (June 2020 - May 2023)
- docker_image: ubuntu:focal
ros_distribution: foxy
# Galactic Geochelone (May 2021 - November 2022)
- docker_image: ubuntu:focal
ros_distribution: galactic
# Humble Hawksbill (May 2022 - May 2027)
- docker_image: ubuntu:jammy
ros_distribution: humble
container:
image: ${{ matrix.docker_image }}
steps:
- name: setup ROS environment
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Checkout repository
uses: actions/checkout@v3
- name: build multirobot_map_merge and explore_lite
uses: ros-tooling/[email protected]
with:
package-name: multirobot_map_merge explore_lite
target-ros2-distro: ${{ matrix.ros_distribution }}
skip-tests: true
- name: Run gtests manually multirobot_map_merge
run: |
. /opt/ros/${{ matrix.ros_distribution }}/setup.sh && . ros_ws/install/setup.sh
cd ros_ws/build/multirobot_map_merge
./test_merging_pipeline
- name: Run gtests manually explore_lite
run: |
. /opt/ros/${{ matrix.ros_distribution }}/setup.sh && . ros_ws/install/setup.sh
cd ros_ws/build/explore_lite
./test_explore