From b4d2b88d400b1834a3f516022c95fd652c372a9b Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 31 Aug 2022 14:41:55 +0200 Subject: [PATCH] Frontend cache should work now --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9de079..e3f929e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ build_backend: stage: build cache: paths: - - /root/.cache/vcpkg + - vcpkg_cache script: - apt-get update - apt-get install g++ gcc make cmake git curl zip unzip tar python3 pkg-config -y @@ -18,7 +18,7 @@ build_backend: - git clone https://github.com/Microsoft/vcpkg.git . - ./bootstrap-vcpkg.sh -disableMetrics - cd $SRC - - cmake -B build -S backend -DCMAKE_TOOLCHAIN_FILE=$TMP/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release + - VCPKG_DEFAULT_BINARY_CACHE=$SRC/vcpkg_cache cmake -B build -S backend -DCMAKE_TOOLCHAIN_FILE=$TMP/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release - cmake --build build - cp build/backend server artifacts: