From cc0bc877c47b1e9dc83dd444262e1b524f3fcddd Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 21 Feb 2021 09:58:06 -0800 Subject: [PATCH] don't clone the history of submodules in Windows CI tasks The Windows builds only need the tip of these repositories, so no need to spend time and bandwidth retrieving their history. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b908a806a..667977190 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- 2.40.0