terravisor/.gitlab-ci.yml

24 lines
573 B
YAML

stages:
- setup
- build
setup:
stage: setup
image: cmake-build-env:latest
script:
- echo "Cloning and setting up vcpkg..."
- git clone https://github.com/microsoft/vcpkg.git
- cd vcpkg
- ./bootstrap-vcpkg.sh
- ./vcpkg install glew:x64-linux glfw3:x64-linux # Install necessary packages
build:
stage: build
image: cmake-build-env:latest
script:
- echo "Building the application..."
- mkdir -p build
- cd build
- cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=$CI_PROJECT_DIR/vcpkg/scripts/buildsystems/vcpkg.cmake
- ninja