Frontend cache should work now

This commit is contained in:
Mutzi 2022-08-31 14:41:55 +02:00
parent c290863e26
commit b4d2b88d40

View File

@ -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: