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