From 0f1ae8896e8fbdd9f928f972f6ba04641f20536e Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 27 Oct 2022 12:26:21 -0500 Subject: [PATCH] github/workflows: print error logs on freebsd Despite being run in a VM, the workflow actually copies the files back to the host. We can then explictly print the error logs on failure in their own separate section for visibility instead of it being hidden within all the vm output. --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a589985d3d..9e877748aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -196,3 +196,13 @@ jobs: # run: | ./ci/build-freebsd.sh + + - name: Print meson log + if: ${{ failure() }} + run: | + cat ./build/meson-logs/meson-log.txt + + - name: Print waf log + if: ${{ failure() }} + run: | + cat ./build/config.log