CI: musl: highlight section if there are coredumps

previously, section was collapsed, thus it was harder to find that
there's something to look at
This commit is contained in:
Ilya Shipitsin 2023-09-06 19:04:48 +02:00 committed by Willy Tarreau
parent 4a18d9e560
commit 8382d71808
1 changed files with 5 additions and 0 deletions

View File

@ -40,12 +40,17 @@ jobs:
- name: Show coredumps
if: ${{ failure() && steps.vtest.outcome == 'failure' }}
run: |
failed=false
ls /tmp/core/
for file in /tmp/core/core.*; do
failed=true
printf "::group::"
gdb -ex 'thread apply all bt full' ./haproxy $file
echo "::endgroup::"
done
if [ "$failed" = true ]; then
exit 1;
fi
- name: Show results
if: ${{ failure() }}
run: |