ci: Run uncrustify in test mode
Add a simple check that no one introduced whitespace errors.
This commit is contained in:
parent
9b37256175
commit
728335581f
1 changed files with 6 additions and 0 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue