X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=148a8bd47658f7a71e7b1f932436c290690e6ad8;hb=cf34c825e0e646cc1d80dcfbe5123ce33d0db000;hp=c10c401a2ef691e99b835e2e39ca76a12740366a;hpb=34f4781ebdc3d07c1fce44e835485a6a154dd9e4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c10c401a2..148a8bd47 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=49eb51de7b7a3f1815c8586ede217e05 + - EXPECT=55338fabce73c671336171e6cb055f74 - HASH=$(${ENGINE} +timestamps 1 +exec serverbench.cfg | tee /dev/stderr | sed -e 's,^\[[^]]*\] ,,'