- - git clone --depth=1 --branch=main https://gitlab.com/xonotic/gmqcc.git gmqcc\r
- - make -C gmqcc || exit 1\r
- - export QCC="$PWD/gmqcc/gmqcc"\r
+ - >\r
+ if wget -nv https://beta.xonotic.org/pipeline-bin/gmqcc ; then\r
+ export QCC="$PWD/gmqcc"\r
+ chmod +x "$QCC"\r
+ else\r
+ git clone --depth=1 --branch=main https://gitlab.com/xonotic/gmqcc.git gmqcc\r
+ make -C gmqcc || exit 1\r
+ export QCC="$PWD/gmqcc/gmqcc"\r
+ fi\r
+\r
+ # Makefile: don't complain about lack of tags (fetching them is slow)\r
+ - export QCCFLAGS_WATERMARK=gitlab_pipeline\r
+ # Makefile: don't compress anything or complain about lack of zip program\r
+ - export ZIP=/bin/true\r