[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: Wed, 28 Jul 2021 17:59:44 +0000 (UTC)
commit 5ab19960ea9c5d4701eff8316880e1b795cda608
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]