X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=a9c91730779de7c3609daa8a166cf5971f2930b3;hb=6829a2e04cf1929e3db36379d0b5da0e140f5538;hp=7c27cb4ce57cb0d5dcbf0c3fd6fbce6691ba8625;hpb=49a39ea6663520bf76e19697e6d5835eff8ba9a3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c27cb4ce..a9c917307 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,19 +11,6 @@ before_script: - cd gmqcc && make -j $(nproc) && export QCC="$PWD/gmqcc" - cd .. -report_cloc: - before_script: - - ln -s $PWD data/xonotic-data.pk3dir # is this needed? - - apt-get update - - apt-get -y install cloc sqlite3 - rules: - - changes: - - qcsrc/**/* - 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: rules: - changes: @@ -45,7 +32,7 @@ test_sv_game: - wget -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints - wget -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache - make - - EXPECT=570561a503853d1224450fbdfb8b3315 + - EXPECT=695aaf75cbf57edbd43322b281fcb978 - HASH=$(${ENGINE} -noconfig -nohome +timestamps 1 +exec serverbench.cfg | tee /dev/stderr | sed -e 's,^\[[^]]*\] ,,'