From 65396ce14dec6fd1677a5d334c4c2ccdfd458399 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 28 Aug 2022 18:50:22 +0200 Subject: [PATCH] Added cache for vcpkg and fixed CI... --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 846a1dd..a9de079 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,9 @@ stages: build_backend: stage: build + cache: + paths: + - /root/.cache/vcpkg script: - apt-get update - apt-get install g++ gcc make cmake git curl zip unzip tar python3 pkg-config -y @@ -20,7 +23,7 @@ build_backend: - cp build/backend server artifacts: paths: - - backend + - server expire_in: 1h test_and_build_frontend: @@ -42,7 +45,6 @@ test_and_build_frontend: package_server: stage: package - cache: [] before_script: [] needs: - job: build_backend