Skip to content

Commit b62f3a9

Browse files
committed
add coredump debug
1 parent 47a479a commit b62f3a9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/gcc8_test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ jobs:
4545
curl -L -O https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-linux-x86_64.tar.gz
4646
tar -zxvf cmake-3.28.3-linux-x86_64.tar.gz -C /usr/local --strip-components=1
4747
rm cmake-3.28.3-linux-x86_64.tar.gz
48+
- name: Enable core dumps
49+
run: |
50+
ulimit -c unlimited
51+
echo "kernel.core_pattern=core.%e.%p" | sudo tee -a /etc/sysctl.conf
52+
sysctl -p
53+
- name: Debug core dump settings
54+
run: |
55+
ulimit -c
56+
cat /proc/sys/kernel/core_pattern
57+
ls -la
4858
- name: Checkout paimon-cpp
4959
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5060
with:

0 commit comments

Comments
 (0)