ci: add a job to check reserve.{c|h} from PipeWire

This file is used by the Media Session plugin and by the pw-reserve
tool. Add a job here so where our file differs from the PipeWire one, we
get a warning in the CI.
This commit is contained in:
Peter Hutterer 2021-10-18 09:32:17 +10:00
parent 7502e044c3
commit 49fdfea420

View file

@ -222,6 +222,18 @@ build_with_coverity:
- build-*/meson-logs
- cov-int/build-log.txt
reserve.c sync:
extends:
- .build_on_fedora
stage: analysis
script:
- >-
curl https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/src/tools/reserve.c > src/reserve.c
- >-
curl https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/src/tools/reserve.h > src/reserve.h
- git diff --exit-code || echo "WARNING - reserve.{c|h} should be kept in sync with PipeWire" && exit 1
allow_failure: true
spellcheck:
extends:
- .build_on_fedora