Frontend cache should work now
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user