[gnome-build-meta/abderrahim/strict-junction: 4/4] .gitlab-ci.yml: do a strict build whenever freedesktop-sdk is changed
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/strict-junction: 4/4] .gitlab-ci.yml: do a strict build whenever freedesktop-sdk is changed
- Date: Thu, 21 Jul 2022 14:25:59 +0000 (UTC)
commit 7027b8887f94854025b3fca3816339769c061a0d
Author: Abderrahim Kitouni <abderrahim kitouni codethink co uk>
Date: Thu Jul 21 14:12:51 2022 +0200
.gitlab-ci.yml: do a strict build whenever freedesktop-sdk is changed
Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1675>
.gitlab-ci.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08e7cc8b2..c85fbc70c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,7 +56,14 @@ default:
;;
esac
- - ${BST} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${TARGETS[@]}"
+ - |
+ if test $FLATPAK_BRANCH == 'master' &&
+ git diff --name-only origin/master | egrep -q "junction.refs|freedestkop-sdk.bst"; then
+ echo Forcing strict build
+ FORCE_STRICT=--strict
+ fi
+
+ - ${BST} ${FORCE_STRICT} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${TARGETS[@]}"
# Store artifacts so we can inspect build failures
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]