X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=31378d8d25d85d6432a5b73209a2b11fc88127c1;hb=1cfd054266f22c90e7fcf01945cfba957e839915;hp=b6735a471d6ea8e3d1dd03101d1620ae6d697366;hpb=3f4496f15cc88853d818a3e68fa731c28928f4a4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6735a471..31378d8d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,15 +52,15 @@ test_sv_game: - make qc || exit 1 - mkdir -p data/maps - - wget -nv -O data/maps/gitlab-ci.bsp https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/_init/_init.bsp + - wget -nv -O data/maps/_init.bsp https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/_init/_init.bsp - while read LINE; do echo $LINE; [ "$LINE" = "All tests OK" ] && PASS=1; - done < <(${ENGINE} +developer 1 +map gitlab-ci +sv_cmd runtest +wait +quit) + done < <(${ENGINE} +developer 1 +map _init +sv_cmd runtest +wait +quit) - test "$PASS" = "1" || { echo 'sv_cmd runtest failed!'; exit 1; } - - ${ENGINE} +map gitlab-ci +sv_cmd dumpnotifs +wait +quit + - ${ENGINE} +map _init +sv_cmd dumpnotifs +wait +quit - diff notifications.cfg data/data/notifications_dump.cfg || { echo 'Please update notifications.cfg using `dumpnotifs`!'; exit 1; } @@ -69,7 +69,7 @@ test_sv_game: - wget -nv -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints - wget -nv -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache - - EXPECT=4c834aa9b5950ffe25deec1880f21641 + - EXPECT=8fb740a3cb3754ca7b9295ddc5c911b5 - HASH=$(${ENGINE} +timestamps 1 +exec serverbench.cfg | tee /dev/stderr | sed -e 's,^\[[^]]*\] ,,'