- 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