[epiphany/mcatanzaro/#1612] ci: have scan-build error out on its own
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1612] ci: have scan-build error out on its own
- Date: Wed, 15 Dec 2021 16:46:43 +0000 (UTC)
commit 9bdfb47154367a2f8c27f32e40b056e865714f01
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Wed Dec 15 10:46:06 2021 -0600
ci: have scan-build error out on its own
scan-build knows whether it succeeded or failed. No need to handle this
manually.
.gitlab-ci.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71a55d6d5..3ba352a63 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,8 +57,7 @@ scanbuild:
CONFIG_OPTS: '-Dprofile=Devel -Dunit_tests=enabled'
script:
- flatpak-builder --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} flatpak_app ${MANIFEST_PATH}
- - flatpak build flatpak_app bash -c "source /usr/lib/sdk/llvm12/enable.sh; meson --prefix=/app
${CONFIG_OPTS} _build; ninja -C _build scan-build"
- - if [[ -n "$(ls -A _build/meson-logs/scanbuild/)" ]]; then echo "Scan build log found, assuming defects
exist"; exit 1; fi
+ - flatpak build flatpak_app bash -c "source /usr/lib/sdk/llvm12/enable.sh; meson --prefix=/app
${CONFIG_OPTS} _build; ninja -C _build scan-build --status-bugs"
artifacts:
when: on_failure
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]