From dfb9fc3953ffa09d9139e234d2b90aca42f60131 Mon Sep 17 00:00:00 2001 From: Roshan Syed Date: Thu, 5 Sep 2019 15:27:25 -0300 Subject: [PATCH] Added cache to CI --- .gitlab-ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ef00a44f..8f816bee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,11 @@ build: - git submodule update --init --recursive - cmake . - make -j$(nproc) + cache: + paths: + - libraries/ + - programs/ + - test/ tags: - builder @@ -16,11 +21,5 @@ test: script: - ./tests/betting_test - ./tests/chain_test - cache: - key: $CI_COMMIT_REF_NAME - paths: - - libraries/ - - programs/ - - test/ tags: - builder \ No newline at end of file