Added cache for vcpkg and fixed CI...
This commit is contained in:
		@@ -6,6 +6,9 @@ stages:
 | 
			
		||||
 | 
			
		||||
build_backend:
 | 
			
		||||
    stage: build
 | 
			
		||||
    cache:
 | 
			
		||||
        paths:
 | 
			
		||||
            - /root/.cache/vcpkg
 | 
			
		||||
    script:
 | 
			
		||||
        - apt-get update
 | 
			
		||||
        - 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
 | 
			
		||||
    artifacts:
 | 
			
		||||
        paths:
 | 
			
		||||
            - backend
 | 
			
		||||
            - server
 | 
			
		||||
        expire_in: 1h
 | 
			
		||||
 | 
			
		||||
test_and_build_frontend:
 | 
			
		||||
@@ -42,7 +45,6 @@ test_and_build_frontend:
 | 
			
		||||
 | 
			
		||||
package_server:
 | 
			
		||||
    stage: package
 | 
			
		||||
    cache: []
 | 
			
		||||
    before_script: []
 | 
			
		||||
    needs:
 | 
			
		||||
        - job: build_backend
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user