diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-04-03 22:27:37 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-04-03 22:27:37 +0200 |
commit | c09e2c182a546608f186f263c16129a36a0fbac6 (patch) | |
tree | 6b81885cbb68db6526fadd6ec7f419e0bedd1751 | |
parent | 269c4a66ae940dee51ebf6625e9756f4de86f967 (diff) | |
download | manaplus-c09e2c182a546608f186f263c16129a36a0fbac6.tar.gz manaplus-c09e2c182a546608f186f263c16129a36a0fbac6.tar.bz2 manaplus-c09e2c182a546608f186f263c16129a36a0fbac6.tar.xz manaplus-c09e2c182a546608f186f263c16129a36a0fbac6.zip |
Poke CI
-rw-r--r-- | .gitlab-ci.yml | 20 | ||||
-rwxr-xr-x | tools/ci/scripts/runtest.sh | 4 |
2 files changed, 14 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7837a7650..478f7ce85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,7 +91,7 @@ variables: tags: - docker -gcc-snapshot_sdl2: +.gcc-snapshot_sdl2: stage: prebuild script: - export PATH="/usr/lib/gcc-snapshot/bin:/usr/lib/gcc-snapshot/lib:$PATH" @@ -148,7 +148,7 @@ gcc-snapshot_sdl2: tags: - docker -gcc-7: +.gcc-7: stage: prebuild script: - ./tools/ci/scripts/patchsdl1.sh @@ -166,7 +166,7 @@ gcc-7: tags: - docker -gcc-8: +.gcc-8: stage: prebuild script: - ./tools/ci/scripts/patchsdl1.sh @@ -257,7 +257,7 @@ mxe_gcc6_shared_64: tags: - docker -gcc-5_sdl2: +.gcc-5_sdl2: stage: prebuild script: - ./tools/ci/jobs/gcc5_sdl2.sh @@ -307,7 +307,7 @@ gcc-10_dyecmd_only: tags: - docker -gcc-8_unittestsbin: +.gcc-8_unittestsbin: stage: prebuild script: - ./tools/ci/scripts/patchsdl1.sh @@ -322,7 +322,7 @@ gcc-8_unittestsbin: tags: - docker -mplint: +.mplint: stage: lint script: - ./tools/ci/jobs/mplint.sh src po data @@ -333,7 +333,7 @@ mplint: tags: - docker -linters: +.linters: stage: lint script: - ./tools/ci/jobs/pngcheck.sh @@ -347,7 +347,7 @@ linters: tags: - lightweight -gcc-5_h_all: +.gcc-5_h_all: stage: prebuild script: - ./tools/ci/scripts/patchsdl1.sh @@ -414,7 +414,7 @@ gcc-5_h_all: tags: - docker -doxygen: +.doxygen: stage: build image: debian:buster script: @@ -432,7 +432,7 @@ doxygen: tags: - docker -pages: +.pages: stage: deploy image: debian:buster script: diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index e629fc514..ba421b246 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -29,6 +29,8 @@ function wait_for_servers_list { n=0 while true; do echo "wait for servers list ${n}" + df -h + curl https://tmw2.org/updates/serverlist.xml check_is_run # check here grep "Skipping servers list update" "${HOME}/.local/share/mana/manaplus.log" && return @@ -36,6 +38,8 @@ function wait_for_servers_list { grep "Error: servers list updating error" "${HOME}/.local/share/mana/manaplus.log" if [ "$?" == 0 ]; then echo "Servers list downloading error" + df -h + curl https://tmw2.org/updates/serverlist.xml exit 1 fi |