This commit is contained in:
Jack Christensen 2024-08-19 15:44:16 -04:00
commit 0e7051e083
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,9 @@ build:
stage: build
script:
# Set the VCPKG_TOOLCHAIN environment variable
- vcpkg install freeimage
- ls /vcpkg/installed
- ls /vcpkg/installed/x64-linux
- ls /vcpkg/installed/x64-linux/lib
- export VCPKG_TOOLCHAIN=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
- mkdir -p build
- cmake -B build -S . -G Ninja -DCMAKE_TOOLCHAIN_FILE=$VCPKG_TOOLCHAIN
@ -27,7 +29,6 @@ run_tests:
dependencies:
- build
script:
- vcpkg install freeimage
- apt-get update && apt-get install -y xvfb
- Xvfb :99 -screen 0 1024x768x24 &
- sleep 5