ci: Run uncrustify in test mode

Add a simple check that no one introduced whitespace errors.
This commit is contained in:
Benjamin Berg 2019-11-19 16:32:46 +01:00
parent 9b37256175
commit 728335581f

View file

@ -48,6 +48,12 @@ test:
- ninja -C _build - ninja -C _build
- meson test -C _build --verbose --no-stdsplit - meson test -C _build --verbose --no-stdsplit
test_indent:
stage: test
script:
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck git uncrustify
- scripts/uncrustify.sh --check
.flatpak_script_template: &flatpak_script .flatpak_script_template: &flatpak_script
script: script:
- flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH} - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}