Fixed ci
This commit is contained in:
		@@ -7,6 +7,7 @@ stages:
 | 
			
		||||
build_backend:
 | 
			
		||||
    stage: build
 | 
			
		||||
    cache:
 | 
			
		||||
        key: backend
 | 
			
		||||
        paths:
 | 
			
		||||
            - vcpkg_cache
 | 
			
		||||
    script:
 | 
			
		||||
@@ -18,6 +19,7 @@ build_backend:
 | 
			
		||||
        - git clone https://github.com/Microsoft/vcpkg.git .
 | 
			
		||||
        - ./bootstrap-vcpkg.sh -disableMetrics
 | 
			
		||||
        - cd $SRC
 | 
			
		||||
        - mkdir -p vcpkg_cache
 | 
			
		||||
        - 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
 | 
			
		||||
@@ -30,6 +32,7 @@ test_and_build_frontend:
 | 
			
		||||
    image: node:latest
 | 
			
		||||
    stage: build
 | 
			
		||||
    cache:
 | 
			
		||||
        key: frontend
 | 
			
		||||
        paths:
 | 
			
		||||
            - frontend/.yarn
 | 
			
		||||
            - frontend/node_modules
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user