we don't want to fetch the tags or install a zip program as it would be
slow and not useful
- make -C gmqcc || exit 1\r
- export QCC="$PWD/gmqcc/gmqcc"\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
+\r
test_compilation_units:\r
rules:\r
- changes:\r
#!/usr/bin/env bash
+[ -z "$QCCFLAGS_WATERMARK" ] && export QCCFLAGS_WATERMARK=$(git describe --tags --dirty='~')
set -eu
cd ${0%/*}
declare -a QCCDEFS=(
-DNDEBUG=1
-DXONOTIC=1
- -DWATERMARK="\"$(git describe --tags --dirty='~')\""
+ -DWATERMARK="\"$QCCFLAGS_WATERMARK\""
-DENABLE_EFFECTINFO=0
-DENABLE_DEBUGDRAW=0
-DENABLE_DEBUGTRACE=0