From 59e3f370cd77b2c4a3a93b448079d01ca5a07c96 Mon Sep 17 00:00:00 2001
From: Josh Morgenstern <josh@morgenstern.dev>
Date: Sat, 29 May 2021 10:42:06 +0200
Subject: [PATCH] [#50] add before script and enable shallow clone

---
 .gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3facb3c1..930ddb13 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@ variables:
   RUN:
     value: "all"
     description: "The tests that should run. Possible values: ubuntu, win, all."
-  GIT_DEPTH: 10
+  GIT_DEPTH: 1
 
 stages:
   - build
@@ -19,6 +19,8 @@ build_ubuntu_gcc:
     GIT_SUBMODULE_STRATEGY: recursive
   timeout: 10m
   retry: 1
+  before_script:
+    - git lfs install
   script:
     - mkdir debug
     - cd debug
@@ -42,6 +44,8 @@ build_win10_msvc:
     GIT_SUBMODULE_STRATEGY: recursive
   timeout: 10m
   retry: 1
+  before_script:
+    - git lfs install
   script:
     - cd 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\'
     - .\Launch-VsDevShell.ps1
-- 
GitLab