[gjs: 4/6] ci: Only perform iwyu builds when actual sources or build parameters changed




commit 24a9884557aaf9144d4d1eb346666d20baba235e
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu May 13 15:10:24 2021 +0200

    ci: Only perform iwyu builds when actual sources or build parameters changed

 .gitlab-ci.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e1788ee3..c69ab8f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -279,7 +279,13 @@ iwyu:
     - meson setup _build
     - ./tools/run_iwyu.sh ci-upstream-base
   only:
-    - branches
+    refs:
+      - branches
+    changes:
+      - '**/*.c'
+      - '**/*.cpp'
+      - '**/*.h'
+      - '**/meson.build'
   except:
     - schedules
     - /^gnome-\d+-\d+$/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]