From 826386e8492357fcbf825b2a863de2aebb6398ec Mon Sep 17 00:00:00 2001 From: lukas Date: Fri, 8 May 2020 17:28:19 +0200 Subject: [PATCH] define cached files globally/ including last test job --- .gitlab-ci.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 011f050..4524b1c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,22 +6,24 @@ stages: - build_package - test +cache: + paths: + - build/ + - src/ + - inc/ + - tests/ + - postinst + cmake: stage: cmake script: - cmake -S . -B build - cache: - paths: - - ./ build: stage: build script: - cd build - make - cache: - paths: - - ./ artifacts: paths: - "build/bin/*" @@ -32,9 +34,6 @@ build_package: script: - cd build - make package - cache: - paths: - - ./ artifacts: paths: - "build/packages/*"