]> granicus.if.org Git - graphviz/commitdiff
don't clone the history of submodules in Windows CI tasks
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Feb 2021 17:58:06 +0000 (09:58 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Feb 2021 18:38:13 +0000 (10:38 -0800)
The Windows builds only need the tip of these repositories, so no need to spend
time and bandwidth retrieving their history.

.gitlab-ci.yml

index b908a806a067b0160e5eae519e9aed03e6821d07..667977190ea115a633fcb0071fcd30c68350920e 100644 (file)
@@ -126,7 +126,7 @@ portable-source:
             $TARGET_ARCH = "x86";
           }
         # Retrieve submodules, dependencies are stored there.
-        - git submodule update --init
+        - git submodule update --init --depth 1
         # Install and set PATH
         - $Env:graphviz_install_dir = "C:\Graphviz"
         # Build