summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2021-06-07 14:52:42 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2021-06-07 14:52:42 +0100
commit86a6b8f6e49aaa1e1594bce9bce35c1b2ec6ec11 (patch)
treeedb41199b3c558fc5113dd7da4b3b43794f3a5c4
parent34a9124736af79e53e4dd0d3b1081278624720ce (diff)
downloadgobject-introspection-86a6b8f6e49aaa1e1594bce9bce35c1b2ec6ec11.tar.gz
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>
-rw-r--r--subprojects/glib.wrap1
-rw-r--r--subprojects/gobject-introspection.wrap1
-rw-r--r--subprojects/libffi.wrap1
-rw-r--r--subprojects/pycairo.wrap1
4 files changed, 4 insertions, 0 deletions
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