stages: - build build-debug: stage: build script: - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 image: mcr.microsoft.com/dotnet/sdk:3.1-focal build-release-windows: stage: build script: - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release image: mcr.microsoft.com/dotnet/sdk:3.1 build-release: stage: build script: - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release - cp -r fnalibs/lib64 isometric-park-fna/bin/Release/ - apt-get update - apt install -y xorg-dev libglu1-mesa libgl1-mesa-dev xvfb libxinerama1 libxcursor1 xwd mesa-utils - xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR" -- glxinfo - LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR" -- dotnet ./isometric-park-fna.dll & - sleep 5; xwd -root -out screenshot.xwd - sleep 1; killall dotnet artifacts: paths: - screenshot.xwd expire_in: 1 week image: mcr.microsoft.com/dotnet/sdk:3.1-focal