Added cache for vcpkg and fixed CI...
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user