X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=.gitlab-ci.yml;h=7d5bb7b4930b3dd733427db7a9f8b7d674477bb2;hp=df7e8e28ad3fa9fc2b9e8aaca9f7ff02d9ce417a;hb=3bbcff2475d1b2efc1314a358bf60c6fba6e4be6;hpb=10c0e93c75ef6f408e3357bd5fb46c721e7e0576 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df7e8e28a..7d5bb7b49 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,12 @@ before_script: - cd gmqcc && make -j $(nproc) && export QCC="$PWD/gmqcc" - cd .. +report_cloc: + stage: test + script: + - cloc --force-lang-def=qcsrc/tools/cloc.txt --sql 1 --sql-project xonotic qcsrc | sqlite3 code.db + - sqlite3 code.db 'select file,nCode from t where nCode > 1000 order by nBlank+nComment+nCode desc' + test_compilation_units: stage: test script: @@ -24,7 +30,7 @@ test_sv_game: - wget -O data/maps/g-23.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/g-23.waypoints.cache - wget -O data/maps/g-23.waypoints.hardwired https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/g-23.waypoints.hardwired - make - - EXPECT=f05b0d5a3aa761c72406d4d2b47dba86 + - EXPECT=3134955e1b2af87635ba19947dccc2a4 - HASH=$(${ENGINE} -noconfig -nohome +exec serverbench.cfg | tee /dev/stderr | grep '^:'