- cd gmqcc && make -j $(nproc) && export QCC="$PWD/gmqcc"\r
- cd ..\r
\r
-report_cloc:\r
- before_script:\r
- - ln -s $PWD data/xonotic-data.pk3dir # is this needed?\r
- - apt-get update\r
- - apt-get -y install cloc sqlite3\r
- rules:\r
- - changes:\r
- - qcsrc/**/*\r
- stage: test\r
- script:\r
- - cloc --force-lang-def=qcsrc/tools/cloc.txt --sql 1 --sql-project xonotic qcsrc | sqlite3 code.db\r
- - sqlite3 code.db 'select file,nCode from t where nCode > 1000 order by nBlank+nComment+nCode desc'\r
-\r
test_compilation_units:\r
rules:\r
- changes:\r
- wget -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints\r
- wget -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache\r
- make\r
- - EXPECT=570561a503853d1224450fbdfb8b3315\r
+ - EXPECT=dfb2a117b18258dfcc0b95e7e9f54189\r
- HASH=$(${ENGINE} -noconfig -nohome +timestamps 1 +exec serverbench.cfg\r
| tee /dev/stderr\r
| sed -e 's,^\[[^]]*\] ,,'\r