CI: Run basic CI for Xenial

Tests can't be built since Catch2 is only packaged for Groovy (20.10)
This commit is contained in:
Peter Keresztes Schmidt 2021-04-11 21:05:07 +02:00
parent dab89622af
commit 56148207f6
1 changed files with 25 additions and 0 deletions

25
.github/workflows/ci-xenial.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: CI Xenial
on:
push:
branches:
- '*'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get install libavdevice-dev libcurl4-gnutls-dev libvlc-dev libvncserver-dev libdate-manip-perl libdbd-mysql-perl libsys-mmap-perl libpolkit-gobject-1-dev
- name: Prepare
run: mkdir build
- name: Configure
run: cd build && cmake .. -DBUILD_MAN=0
- name: Build
run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})