[epiphany/abderrahim/llvm-extension: 8/8] .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: 8/8] .gitlab-ci.yml: use the llvm12 sdk extension
- Date: Wed, 28 Jul 2021 18:25:27 +0000 (UTC)
commit 1e2fd2bec0aa0a921ce76b7a21aa04f0be1143ac
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]