From 8a8dc48206f2b0a98396bf1162730066f1e52093 Mon Sep 17 00:00:00 2001 From: Peter Keresztes Schmidt Date: Mon, 24 May 2021 21:53:32 +0200 Subject: [PATCH] CI: Add CI workflow for Debian Stretch --- .github/workflows/ci-stretch.yml | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci-stretch.yml diff --git a/.github/workflows/ci-stretch.yml b/.github/workflows/ci-stretch.yml new file mode 100644 index 000000000..95da4a10e --- /dev/null +++ b/.github/workflows/ci-stretch.yml @@ -0,0 +1,33 @@ +name: CI Debian Stretch + +on: + push: + branches: + - '*' + pull_request: + branches: [ master ] + +jobs: + build: + defaults: + run: + shell: bash + runs-on: ubuntu-latest + container: debian:stretch-backports + + steps: + - name: Update packages + run: apt-get -qq update && apt-get -qq upgrade + - name: Install git + run: apt-get -qq install git/stretch-backports git-man/stretch-backports + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Install dependencies + run: apt-get -qq install make cmake g++ default-libmysqlclient-dev libavdevice-dev libcurl4-gnutls-dev libvlc-dev libvncserver-dev libdate-manip-perl libdbd-mysql-perl libsys-mmap-perl libwww-perl libpolkit-gobject-1-dev libssl-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]})