diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d5d4e1..19fe130 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,21 @@ stages: + - setup - build -build: - stage: build - image: alpine:latest +setup: + stage: setup + image: admin/cmake-build-env script: - - echo "Installing dependencies..." - - apk update && apk add --no-cache curl zip unzip tar git cmake make gcc g++ bash ninja - echo "Cloning and setting up vcpkg..." - git clone https://github.com/microsoft/vcpkg.git - cd vcpkg - - export VCPKG_FORCE_SYSTEM_BINARIES=1 - ./bootstrap-vcpkg.sh - - cd .. + - ./vcpkg install glew:x64-linux glfw3:x64-linux # Install necessary packages + +build: + stage: build + image: admin/cmake-build-env + script: - echo "Building the application..." - mkdir -p build - cd build