[epiphany/abderrahim/llvm-extension: 8/8] .gitlab-ci.yml: use the llvm12 sdk extension
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/abderrahim/llvm-extension: 8/8] .gitlab-ci.yml: use the llvm12 sdk extension
- Date: Wed, 28 Jul 2021 19:47:18 +0000 (UTC)
commit e0d65d433e6cb686554f09f10b54f012c1dcd67e
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..9d77d4f1a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,13 +52,13 @@ flatpak master:
scanbuild:
extends: '.flatpak'
+ image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/llvm_bundle:master"
variables:
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 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]