terravisor/.gitlab-ci.yml

29 lines
553 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-19 08:38:22 -04:00
- test
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
2024-08-19 09:34:36 -04:00
- mkdir -p build
- cmake -B build -S . -G Ninja -DCMAKE_TOOLCHAIN_FILE=$VCPKG_TOOLCHAIN
- cmake --build build
2024-08-19 09:30:41 -04:00
artifacts:
paths:
- build/
expire_in: 1 hour
run_tests:
stage: test
script:
2024-08-19 09:23:45 -04:00
- ls
- timeout 30s ./TerraVisor