- - git clone --depth=1 --branch=div0-stable https://gitlab.com/xonotic/darkplaces.git darkplaces\r
- - make -C darkplaces sv-release || exit 1\r
- - export ENGINE="$PWD/darkplaces/darkplaces-dedicated -xonotic -noconfig -nohome"\r
+ - >\r
+ if wget -nv https://beta.xonotic.org/pipeline-bin/xonotic-linux64-dedicated ; then\r
+ export ENGINE="$PWD/xonotic-linux64-dedicated"\r
+ chmod +x "$ENGINE"\r
+ else\r
+ git clone --depth=1 --branch=div0-stable https://gitlab.com/xonotic/darkplaces.git darkplaces\r
+ make -C darkplaces sv-release || exit 1\r
+ export ENGINE="$PWD/darkplaces/darkplaces-dedicated -xonotic"\r
+ fi\r
+ - export ENGINE="$ENGINE -noconfig -nohome"\r
+\r