]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
pipeline: fail if notifications.cfg is outdated
authorbones_was_here <bones_was_here@xa.org.au>
Mon, 21 Mar 2022 12:58:41 +0000 (22:58 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Mon, 21 Mar 2022 16:47:27 +0000 (02:47 +1000)
.gitlab-ci.yml

index 8818e7d163aad5bfdf09d1a8f48f7202317eda51..50aee9dcb72fde803bfcae0c6e9462253ae6e45e 100644 (file)
@@ -32,6 +32,11 @@ test_sv_game:
     - wget -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints\r
     - wget -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache\r
     - make\r
+\r
+    - $ENGINE -noconfig -nohome +map stormkeep +dumpnotifs +wait +quit\r
+    - diff notifications.cfg data/data/notifications_dump.cfg ||\r
+        { echo 'Please update notifications.cfg using `dumpnotifs`!'; exit 1; }\r
+\r
     - EXPECT=d4060caf37a2e60bab68d1f83bc57368\r
     - HASH=$(${ENGINE} -noconfig -nohome +timestamps 1 +exec serverbench.cfg\r
       | tee /dev/stderr\r