[CI] Clone git repository with a depth of 1 in the CI.

This commit is contained in:
Matthieu Gautier 2020-02-25 15:53:23 +01:00
parent 40b5013279
commit 08ed650c78
2 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@ def run_kiwix_build(
command = ["kiwix-build"]
command.append(target)
command.append("--hide-progress")
command.append("--fast-clone")
if platform == "flatpak" or platform.startswith("win32_"):
command.append("--assume-packages-installed")
if target == "kiwix-lib-app" and platform.startswith("android_"):

View File

@ -89,6 +89,7 @@ def run_kiwix_build(target, platform,
command = ['kiwix-build']
command.append(target)
command.append('--hide-progress')
command.append('--fast-clone')
if platform == 'flatpak' or platform.startswith('win32_'):
command.append('--assume-packages-installed')
if target == 'kiwix-lib-app' and platform.startswith('android_'):