github/workflows: print meson test log on failure on BSD

A build failure will output its error, but a test failure says nothing
other than what test failed. Print the meson test log as well.
This commit is contained in:
Dudemanguy
2025-01-23 22:56:30 -06:00
parent 20375d1133
commit a23b11af5f

View File

@@ -440,7 +440,10 @@ jobs:
vulkan-headers \
zimg
./ci/build-openbsd.sh
meson test -C build
if ! meson test -C build; then
cat ./build/meson-logs/testlog.txt
exit 1
fi
freebsd:
runs-on: ubuntu-latest # until https://github.com/actions/runner/issues/385
@@ -490,7 +493,10 @@ jobs:
vulkan-headers \
wayland-protocols
./ci/build-freebsd.sh
meson test -C build
if ! meson test -C build; then
cat ./build/meson-logs/testlog.txt
exit 1
fi
msys2:
runs-on: windows-latest