name: CI Xenial on: push: branches: - '*' pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-16.04 steps: - name: Update packages run: sudo apt-get -qq update && sudo apt-get -qq upgrade - uses: actions/checkout@v2 with: submodules: recursive - name: Install dependencies run: sudo apt-get -qq 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 --version && cmake .. -DBUILD_MAN=0 -DENABLE_WERROR=1 - name: Build run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})