[epiphany/abderrahim/llvm-extension] .gitlab-ci.yml: use the llvm12 sdk extension
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/abderrahim/llvm-extension] .gitlab-ci.yml: use the llvm12 sdk extension
- Date: Mon, 26 Jul 2021 19:34:32 +0000 (UTC)
commit 9db3deb6a504aa08da93c19151f4d97301dfa7e0
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Mon Jul 26 20:32:18 2021 +0100
.gitlab-ci.yml: use the llvm12 sdk extension
.gitlab-ci.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9c2d0c51..de9a60cac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,11 +54,11 @@ scanbuild:
extends: '.flatpak'
variables:
CONFIG_OPTS: '-Dprofile=Devel -Dunit_tests=enabled'
+ FLATPAK_IMAGE: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/llvm_bundle:master"
script:
- flatpak-builder --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} flatpak_app ${MANIFEST_PATH}
- - flatpak build flatpak_app meson --prefix=/app ${CONFIG_OPTS} _build
- - flatpak build flatpak_app ninja -C _build scan-build
- - bash -c '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"
+ - if [[ -n "$(ls -A _build/meson-logs/scanbuild/)" ]]; then echo "Scan build log found, assuming defects
exist"; exit 1; fi
artifacts:
when: on_failure
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]