2021-04-12 03:05:07 +08:00
|
|
|
name: CI Xenial
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-09-15 22:46:55 +08:00
|
|
|
runs-on: zm-xenial-ci
|
2021-04-12 03:05:07 +08:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
2021-04-19 06:56:23 +08:00
|
|
|
run: sudo apt-get update && 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
|
2021-04-12 03:05:07 +08:00
|
|
|
- name: Prepare
|
|
|
|
run: mkdir build
|
|
|
|
- name: Configure
|
2021-05-01 06:12:45 +08:00
|
|
|
run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 -DENABLE_WERROR=1
|
2021-04-12 03:05:07 +08:00
|
|
|
- name: Build
|
|
|
|
run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})
|