terravisor/.gitlab-ci.yml

16 lines
385 B
YAML
Raw Normal View History

2024-08-12 16:11:18 -04:00
image: jmchr/opengl-test-env:latest
# Define the stages of your pipeline
2024-08-10 23:24:51 -04:00
stages:
- build
2024-08-10 23:24:51 -04:00
variables:
VCPKG_ROOT: "/vcpkg"
build:
stage: build
2024-08-10 23:35:01 -04:00
script:
# Set the VCPKG_TOOLCHAIN environment variable
- export VCPKG_TOOLCHAIN=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
- cmake -B build -S . -G Ninja -DCMAKE_TOOLCHAIN_FILE=$VCPKG_TOOLCHAIN
- cmake --build build