[gnome-build-meta/abderrahim/strict-junction] .gitlab-ci.yml: do a strict build whenever freedesktop-sdk is changed




commit b4fc5905cd79b7c76f0510fe855a43aaabad044f
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 | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08e7cc8b2..3ceb6e490 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,6 +56,12 @@ default:
          ;;
     esac
 
+  - |
+    if test $FLATPAK_BRANCH == 'master' &&
+        git diff --name-only master | egrep -q "junction.refs|freedestkop-sdk.bst"; then
+      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]