[pygobject] ci: Limit depth of subprojects when cloning



commit 86a6b8f6e49aaa1e1594bce9bce35c1b2ec6ec11
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Jun 7 14:52:42 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/gobject-introspection.wrap | 1 +
 subprojects/libffi.wrap                | 1 +
 subprojects/pycairo.wrap               | 1 +
 4 files changed, 4 insertions(+)
---
diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap
index b492f238..9e8b843f 100644
--- a/subprojects/glib.wrap
+++ b/subprojects/glib.wrap
@@ -3,3 +3,4 @@ directory=glib
 url=https://gitlab.gnome.org/GNOME/glib.git
 push-url=git gitlab gnome org:GNOME/glib.git
 revision=main
+depth=1
diff --git a/subprojects/gobject-introspection.wrap b/subprojects/gobject-introspection.wrap
index 561c20a8..0fd976be 100644
--- a/subprojects/gobject-introspection.wrap
+++ b/subprojects/gobject-introspection.wrap
@@ -3,3 +3,4 @@ directory=gobject-introspection
 url=https://gitlab.gnome.org/GNOME/gobject-introspection.git
 push-url=git gitlab gnome org:GNOME/gobject-introspection.git
 revision=master
+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/pycairo.wrap b/subprojects/pycairo.wrap
index ba1c6568..248c2fae 100644
--- a/subprojects/pycairo.wrap
+++ b/subprojects/pycairo.wrap
@@ -2,3 +2,4 @@
 directory=pycairo
 url=https://github.com/pygobject/pycairo.git
 revision=pycairo-1.18
+depth=1


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