Frontend cache should work now
This commit is contained in:
parent
c290863e26
commit
b4d2b88d40
@ -8,7 +8,7 @@ build_backend:
|
|||||||
stage: build
|
stage: build
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- /root/.cache/vcpkg
|
- vcpkg_cache
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install g++ gcc make cmake git curl zip unzip tar python3 pkg-config -y
|
- 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 .
|
- git clone https://github.com/Microsoft/vcpkg.git .
|
||||||
- ./bootstrap-vcpkg.sh -disableMetrics
|
- ./bootstrap-vcpkg.sh -disableMetrics
|
||||||
- cd $SRC
|
- 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
|
- cmake --build build
|
||||||
- cp build/backend server
|
- cp build/backend server
|
||||||
artifacts:
|
artifacts:
|
||||||
|
Loading…
Reference in New Issue
Block a user