From 36e2a69d1e856614cac67b018fa0e80bb5fc199c Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Sat, 15 Aug 2020 15:34:18 +0300
Subject: [PATCH] Cache ext dependencies

---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2fb74df06..ebc9a3846 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,9 @@ linux:
   stage: all
   tags:
     - linux
+  cache:
+    paths:
+      ext/
   variables:
     FTL_LIB: ../../build/SDK/C/libftl-dev.so
     LD_LIBRARY_PATH: /opt/pylon/lib/
@@ -68,6 +71,9 @@ windows-vision:
   except:
     - master
   stage: all
+  cache:
+    paths:
+      ext/
   variables:
     CMAKE_ARGS: '-DENABLE_PROFILER=TRUE -DWITH_OPTFLOW=TRUE -DBUILD_VISION=TRUE -DBUILD_CALIBRATION=FALSE -DBUILDRECONSTRUCT=FALSE -DBUILDRENDERER=FALSE -DBUILD_TESTING=FALSE -DBUILD_TESTS=FALSE'
     DEPLOY_DIR: 'C:/Shared/AutoDeploy'
@@ -80,6 +86,9 @@ windows-master:
   only:
     - master
   stage: all
+  cache:
+    paths:
+      ext/
   variables:
     CMAKE_ARGS: '-DWITH_OPTFLOW=TRUE'
     DEPLOY_DIR: 'C:/Shared/AutoDeploy'
-- 
GitLab