]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/infrastructure/xonotic-map-screenshot.cron
Fix macOS SDL2 framework permissions
[xonotic/xonotic.git] / misc / infrastructure / xonotic-map-screenshot.cron
1 #!/bin/sh
2
3 mepwd=$PWD
4 me=$0
5 export PATH=/home/xonotic/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
6
7 set -e
8 cd xonotic-map-screenshot
9 ./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays
10 # like reclone but do not delete untracked, so q3map2.x86 compile stays
11
12 #export USE_GDB=core
13 #export CC="gcc -DMEMCLUMPING=1 -DFILE_BACKED_MALLOC=1 -DSUPPORTIPV6 -DMEMWANTCLUMPSIZE='(1<<28)'"
14 ./all compile -r -1
15
16 #export DRIVER=soft
17 #export DRIVERFLAGS="+gl_texturecompression 1 -nofbo"
18 #export DRIVERFLAGS="+gl_texturecompression 1"
19
20 startx /bin/sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot -- /usr/bin/Xvfb :7 -screen 0 1024x768x24
21 #sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot
22
23 #lwp-request -m GET http://beta.xonotic.org/autobuild-bsp/?d,c >/dev/null