]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Update the screenshot cron runner script.
authorRudolf Polzer <divVerent@gmail.com>
Mon, 31 Jan 2022 19:49:00 +0000 (11:49 -0800)
committerRudolf Polzer <divVerent@gmail.com>
Mon, 31 Jan 2022 19:49:00 +0000 (11:49 -0800)
misc/infrastructure/xonotic-map-screenshot.cron

index 06468831c0c4b80ca5eccdd56eb7547daa293648..ecd398004b76552271d4222e2c4d2d4402e67d64 100755 (executable)
@@ -2,23 +2,23 @@
 
 mepwd=$PWD
 me=$0
-export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
+export PATH=/home/xonotic/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
 
 set -e
-cd xonotic
-./all clean -fU -D
+cd xonotic-map-screenshot
+./all clean -m -fU -D # like reclone but do not delete untracked, so q3map2.x86 compile stays
 # like reclone but do not delete untracked, so q3map2.x86 compile stays
 
 #export USE_GDB=core
-export CC="gcc -DMEMCLUMPING=1 -DFILE_BACKED_MALLOC=1 -DSUPPORTIPV6 -DMEMWANTCLUMPSIZE='(1<<28)'"
+#export CC="gcc -DMEMCLUMPING=1 -DFILE_BACKED_MALLOC=1 -DSUPPORTIPV6 -DMEMWANTCLUMPSIZE='(1<<28)'"
 ./all compile -r -1
 
-export DRIVER=soft
+#export DRIVER=soft
 #export DRIVERFLAGS="+gl_texturecompression 1 -nofbo"
 #export DRIVERFLAGS="+gl_texturecompression 1"
 
-#startx /bin/sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot -- /usr/bin/Xvfb :7 -screen 0 1024x768x24
 export BUILD_ONE=true
-sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot
+startx /bin/sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot -- /usr/bin/Xvfb :7 -screen 0 1024x768x24
+#sh -x ./misc/tools/xonotic-map-compiler-autobuild screenshot
 
 #lwp-request -m GET http://beta.xonotic.org/autobuild-bsp/?d,c >/dev/null