-
Notifications
You must be signed in to change notification settings - Fork 4
64 lines (60 loc) · 1.7 KB
/
default-action.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: ORNIS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test_docker: # On Linux, iterates on all ROS 1 and ROS 2 distributions.
runs-on: ubuntu-latest
strategy:
matrix:
ros_distribution:
- foxy
- humble
- rolling
include:
# Foxy Fitzroy (June 2020 - May 2023)
- docker_image: ubuntu:focal
ros_distribution: foxy
ros_version: 2
# Humble Hawksbill (May 2022 - May 2027)
- docker_image: ubuntu:jammy
ros_distribution: humble
ros_version: 2
# Rolling Ridley (No End-Of-Life)
- docker_image: ubuntu:jammy
ros_distribution: rolling
ros_version: 2
container:
image: ${{ matrix.docker_image }}
steps:
- name: Setup ROS environment
uses: ros-tooling/setup-ros@v0.6
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Install Notcurses deps
run: |
sudo apt update
sudo apt install -y \
build-essential \
cmake \
doctest-dev \
ffmpeg \
libavdevice-dev \
libdeflate-dev \
libncurses-dev \
libqrcodegen-dev \
libswscale-dev \
libunistring-dev \
pandoc \
pkg-config \
python3-cffi \
python3-dev \
python3-setuptools
- name: Build ORNIS
if: ${{ matrix.ros_version == 2 }}
uses: ros-tooling/action-ros-ci@v0.2
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
skip-tests: true