mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 15:10:26 +01:00
gitlab CI: run the scan-build analysis jobs in script
after_script ignores any exit status so we can't actually fail the job here Fixes #573 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f6c05ae4cc
commit
3eb428ef56
2 changed files with 4 additions and 2 deletions
|
|
@ -661,7 +661,8 @@ scan-build@fedora:33:
|
|||
MESON_TEST_ARGS: ''
|
||||
before_script:
|
||||
- dnf install -y clang-analyzer findutils
|
||||
after_script:
|
||||
script:
|
||||
- .gitlab-ci/meson-build.sh
|
||||
- test ! -d "$MESON_BUILDDIR"/meson-logs/scanbuild && exit 0
|
||||
- test $(find "$MESON_BUILDDIR"/meson-logs/scanbuild -maxdepth 0 ! -empty -exec echo "not empty" \; | wc -l) -eq 0 && exit 0
|
||||
- echo "Check scan-build results"
|
||||
|
|
|
|||
|
|
@ -456,7 +456,8 @@ scan-build@{{distro.name}}:{{version}}:
|
|||
MESON_TEST_ARGS: ''
|
||||
before_script:
|
||||
- dnf install -y clang-analyzer findutils
|
||||
after_script:
|
||||
script:
|
||||
- .gitlab-ci/meson-build.sh
|
||||
- test ! -d "$MESON_BUILDDIR"/meson-logs/scanbuild && exit 0
|
||||
- test $(find "$MESON_BUILDDIR"/meson-logs/scanbuild -maxdepth 0 ! -empty -exec echo "not empty" \; | wc -l) -eq 0 && exit 0
|
||||
- echo "Check scan-build results"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue