Added cache for vcpkg and fixed CI...

This commit is contained in:
Mutzi 2022-08-28 18:50:22 +02:00
parent f5d4cfb51d
commit 65396ce14d

View File

@ -6,6 +6,9 @@ stages:
build_backend: build_backend:
stage: build stage: build
cache:
paths:
- /root/.cache/vcpkg
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
@ -20,7 +23,7 @@ build_backend:
- cp build/backend server - cp build/backend server
artifacts: artifacts:
paths: paths:
- backend - server
expire_in: 1h expire_in: 1h
test_and_build_frontend: test_and_build_frontend:
@ -42,7 +45,6 @@ test_and_build_frontend:
package_server: package_server:
stage: package stage: package
cache: []
before_script: [] before_script: []
needs: needs:
- job: build_backend - job: build_backend