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:
parent
4a18d9e560
commit
8382d71808
|
@ -40,12 +40,17 @@ jobs:
|
||||||
- name: Show coredumps
|
- name: Show coredumps
|
||||||
if: ${{ failure() && steps.vtest.outcome == 'failure' }}
|
if: ${{ failure() && steps.vtest.outcome == 'failure' }}
|
||||||
run: |
|
run: |
|
||||||
|
failed=false
|
||||||
ls /tmp/core/
|
ls /tmp/core/
|
||||||
for file in /tmp/core/core.*; do
|
for file in /tmp/core/core.*; do
|
||||||
|
failed=true
|
||||||
printf "::group::"
|
printf "::group::"
|
||||||
gdb -ex 'thread apply all bt full' ./haproxy $file
|
gdb -ex 'thread apply all bt full' ./haproxy $file
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
done
|
done
|
||||||
|
if [ "$failed" = true ]; then
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
- name: Show results
|
- name: Show results
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue