Feature #1443 » 0009-ci-build.sh-Output-meson-log-on-meson-failure.patch
| scripts/ci-build.sh | ||
|---|---|---|
|   -Ddebug=true \ | ||
|   -Dclients='gtk3.22','qt','sdl2','gtk4','stub' \ | ||
|   -Dfcmp='gtk3','qt','cli','gtk4' \ | ||
|   -Dqtver=qt6 | ||
|   -Dqtver=qt6 \ | ||
|   || (let meson_exit_status=$? \ | ||
|       && echo "meson.log:" \ | ||
|       && cat meson-logs/meson-log.txt \ | ||
|       && exit ${meson_exit_status}) | ||
| ninja | ||
| ninja install | ||
| echo "Freeciv build successful!" | ||
| ... | ... | |
|   || (let meson_exit_status=$? \ | ||
|       && echo "meson.log:" \ | ||
|       && cat meson-logs/meson-log.txt \ | ||
|       && exit $meson_exit_status) | ||
|       && exit ${meson_exit_status}) | ||
| ninja | ||
| ninja install | ||
| echo "Freeciv build successful!" | ||