Skip to content

Commit a7e5180

Browse files
committed
CI: github: improve the AWS-LC job
Like the WolfSSL job, improve the AWS-LC job by adding the socat command so all SSL reg-tests can be run. Also add gdb and output of corefiles.
1 parent b0c2745 commit a7e5180

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/aws-lc.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
with:
2929
path: '~/opt/'
3030
key: ssl-${{ steps.get_aws_lc_release.outputs.result }}-Ubuntu-latest-gcc
31+
- name: Install apt dependencies
32+
run: |
33+
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
34+
sudo apt-get --no-install-recommends -y install socat gdb
3135
- name: Install AWS-LC
3236
if: ${{ steps.cache_ssl.outputs.cache-hit != 'true' }}
3337
run: env ${{ steps.get_aws_lc_release.outputs.result }} scripts/build-ssl.sh
@@ -64,3 +68,17 @@ jobs:
6468
echo "::endgroup::"
6569
done
6670
exit 1
71+
- name: Show coredumps
72+
if: ${{ failure() && steps.vtest.outcome == 'failure' }}
73+
run: |
74+
failed=false
75+
shopt -s nullglob
76+
for file in /tmp/core.*; do
77+
failed=true
78+
printf "::group::"
79+
gdb -ex 'thread apply all bt full' ./haproxy $file
80+
echo "::endgroup::"
81+
done
82+
if [ "$failed" = true ]; then
83+
exit 1;
84+
fi

0 commit comments

Comments
 (0)