[gobject-introspection] ci: Limit depth of subprojects when cloning



commit f49a663206b19531b8b81340b3a9358e08b9fa64
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Jun 7 15:08:41 2021 +0100

    ci: Limit depth of subprojects when cloning
    
    Use the depth= argument from Meson 0.52 to limit the clone depth of
    subprojects to 1. This should make the CI images a little smaller, and
    reduce the bandwidth required to build them (although that’s not so
    important because it only happens once every few months).
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 subprojects/glib.wrap          | 1 +
 subprojects/libffi.wrap        | 1 +
 subprojects/proxy-libintl.wrap | 1 +
 subprojects/zlib.wrap          | 1 +
 4 files changed, 4 insertions(+)
---
diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap
index e6065930..cd886b2e 100644
--- a/subprojects/glib.wrap
+++ b/subprojects/glib.wrap
@@ -2,3 +2,4 @@
 directory=glib
 url=https://gitlab.gnome.org/GNOME/glib.git
 revision=main
+depth=1
diff --git a/subprojects/libffi.wrap b/subprojects/libffi.wrap
index 3d15e2a8..f92e7363 100644
--- a/subprojects/libffi.wrap
+++ b/subprojects/libffi.wrap
@@ -2,3 +2,4 @@
 directory=libffi
 url=https://github.com/centricular/libffi.git
 revision=meson
+depth=1
diff --git a/subprojects/proxy-libintl.wrap b/subprojects/proxy-libintl.wrap
index f32522ee..d7c8d5fa 100644
--- a/subprojects/proxy-libintl.wrap
+++ b/subprojects/proxy-libintl.wrap
@@ -2,3 +2,4 @@
 directory=proxy-libintl
 url=https://github.com/centricular/proxy-libintl.git
 revision=master
+depth=1
diff --git a/subprojects/zlib.wrap b/subprojects/zlib.wrap
index de1e861e..0a3d3dcd 100644
--- a/subprojects/zlib.wrap
+++ b/subprojects/zlib.wrap
@@ -2,3 +2,4 @@
 directory=zlib
 url=https://github.com/centricular/zlib.git
 revision=meson
+depth=1


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