Show More
Commit Description:
Add troubleshooting command.
Commit Description:
Add troubleshooting command.
References:
File last commit:
Show/Diff file:
Action:
.gitlab-ci.yml
33 lines | 1.1 KiB | text/x-yaml | YamlLexer
33 lines | 1.1 KiB | text/x-yaml | YamlLexer
r322 | ||||
stages: | ||||
- build | ||||
r325 | build-debug: | |||
r322 | stage: build | |||
script: | ||||
- dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 | ||||
r338 | 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 | ||||
r325 | ||||
build-release: | ||||
stage: build | ||||
script: | ||||
r327 | - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release | |||
r330 | - cp -r fnalibs/lib64 isometric-park-fna/bin/Release/ | |||
r338 | - apt-get update | |||
r339 | - 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 | ||||
r337 | - 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 | ||||
r338 | image: mcr.microsoft.com/dotnet/sdk:3.1-focal | |||