From 9e7d5041408e6998b85d6634cb83d2cf443df474 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 29 Apr 2022 20:44:15 +0300 Subject: [PATCH 48/48] CI: Install meson-0.57.2 for meson build See osdn #44477 Signed-off-by: Marko Lindqvist --- scripts/ci-build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/ci-build.sh b/scripts/ci-build.sh index 36168d952c..6ac8570b23 100755 --- a/scripts/ci-build.sh +++ b/scripts/ci-build.sh @@ -29,6 +29,17 @@ echo "Freeciv distribution check successful!" ;; "meson") +FC_MESON_VER="0.57.2" +if test "$FC_MESON_VER" != "" ; then + mkdir meson-install + cd meson-install + wget "https://github.com/mesonbuild/meson/releases/download/${FC_MESON_VER}/meson-${FC_MESON_VER}.tar.gz" + tar xzf "meson-${FC_MESON_VER}.tar.gz" + ln -s meson.py "meson-${FC_MESON_VER}/meson" + export PATH="$(pwd)/meson-${FC_MESON_VER}:$PATH" + cd .. +fi + mkdir build cd build meson .. -Dprefix=${HOME}/freeciv/meson -Ddebug=true -Dack_experimental=true -Dclients='gtk3.22','qt','sdl2' -Dfcmp='gtk3','qt','cli' -- 2.35.1