[gnome-build-meta/abderrahim/strict-junction] .gitlab-ci.yml: do a strict build whenever freedesktop-sdk is changed
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/strict-junction] .gitlab-ci.yml: do a strict build whenever freedesktop-sdk is changed
- Date: Thu, 21 Jul 2022 12:31:43 +0000 (UTC)
commit b733320e4fe25b1e40b05cd79e84a8cb0e27ca68
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
.gitlab-ci.yml | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08e7cc8b2..4887f09a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,6 +56,15 @@ default:
;;
esac
+ - |
+ git diff --name-only origin/master
+ echo flatpak branch: $FLATPAK_BRANCH
+ if test $FLATPAK_BRANCH == 'master' &&
+ git diff --name-only origin/master | egrep -q "junction.refs|freedestkop-sdk.bst"; then
+ echo Forcing strict build
+ BST_STRICT=--strict
+ fi
+
- ${BST} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${TARGETS[@]}"
# Store artifacts so we can inspect build failures
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]