X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=83a84305a7615708203d7e34a15b3b573b61fb17;hb=b0210c08a287ad4631e16ddf3a83a0b0c546283f;hp=7909c3286a6dcbd28402519f993afc9a33a59f16;hpb=284c92dabbbdfcbb511e2688204622c5dcf01ac1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7909c3286..83a84305a 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=9b2513f29762de886296f998ac8725c9 + - EXPECT=6f94374cbd7ebda9ac951f92562022d8 - HASH=$(${ENGINE} -noconfig -nohome +exec serverbench.cfg | tee /dev/stderr | grep '^:'