]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: musl: highlight section if there are coredumps
authorIlya Shipitsin <chipitsine@gmail.com>
Wed, 6 Sep 2023 17:04:48 +0000 (19:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Sep 2023 17:05:04 +0000 (19:05 +0200)
previously, section was collapsed, thus it was harder to find that
there's something to look at

.github/workflows/musl.yml

index 4017affb93d0aa29168cf94c63b65c644ce3967c..af358981f7657b868944136998eee9a6e6ac3639 100644 (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: |