mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
ci: Add check-source stage where we check syntax
This commit is contained in:
@ -29,6 +29,10 @@ variables:
|
||||
|
||||
image: "$FEDORA_IMAGE"
|
||||
|
||||
stages:
|
||||
- check-source
|
||||
- test
|
||||
|
||||
.fprintd_build_preconditions:
|
||||
except:
|
||||
variables:
|
||||
@ -47,6 +51,14 @@ image: "$FEDORA_IMAGE"
|
||||
# So we don't get error about this libfprint file
|
||||
- echo "libfprint/demo/gtk-libfprint-test.ui" >> po/POTFILES.skip
|
||||
|
||||
test_indent:
|
||||
stage: check-source
|
||||
extends: .fprintd_build_preconditions
|
||||
script:
|
||||
- scripts/uncrustify.sh
|
||||
- git diff
|
||||
- "! git status -s | grep -q ."
|
||||
|
||||
build_stable:
|
||||
extends: .fprintd_build_preconditions
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user