mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-31 20:23:20 -04:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: CI Debian Stretch
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: Install dependencies
|
|
run: >
|
|
apt-get -qq install make cmake g++
|
|
default-libmysqlclient-dev
|
|
libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-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]})
|