Update .gitlab-ci.yml
This commit is contained in:
parent
2685fe4cbd
commit
899baada53
|
@ -2,7 +2,6 @@ stages:
|
||||||
- setup
|
- setup
|
||||||
- build
|
- build
|
||||||
|
|
||||||
# Setup stage to prepare the environment
|
|
||||||
setup:
|
setup:
|
||||||
stage: setup
|
stage: setup
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
@ -12,14 +11,14 @@ setup:
|
||||||
- echo "Cloning and setting up vcpkg..."
|
- echo "Cloning and setting up vcpkg..."
|
||||||
- git clone https://github.com/microsoft/vcpkg.git
|
- git clone https://github.com/microsoft/vcpkg.git
|
||||||
- cd vcpkg
|
- cd vcpkg
|
||||||
- export VCPKG_FORCE_SYSTEM_BINARIES=1
|
|
||||||
- ./bootstrap-vcpkg.sh
|
- ./bootstrap-vcpkg.sh
|
||||||
|
- git pull
|
||||||
|
- ./vcpkg update
|
||||||
- ./vcpkg install glew:x64-linux glfw3:x64-linux # Install necessary packages
|
- ./vcpkg install glew:x64-linux glfw3:x64-linux # Install necessary packages
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- vcpkg/
|
- vcpkg/
|
||||||
|
|
||||||
# Build stage to compile the project
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
|
Loading…
Reference in New Issue