Skip to content

Commit ef77e28

Browse files
authored
Update main.yml
1 parent 3ff8195 commit ef77e28

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ jobs:
5959
steps:
6060

6161
- uses: actions/[email protected]
62-
63-
- name: Enable core dumps
64-
if: matrix.name == 'linux'
65-
run: |
66-
ulimit -c unlimited
67-
echo '/tmp/core.%e.%p' | sudo tee /proc/sys/kernel/core_pattern
6862

6963
- uses: msys2/[email protected]
7064
if: matrix.os == 'windows-latest'
@@ -139,22 +133,14 @@ jobs:
139133
140134
- name: test sqlite-sync
141135
if: matrix.name == 'linux' || matrix.name == 'windows'
142-
continue-on-error: true # so workflow doesn't stop on segfault
143136
run: make test
144137

145-
- name: Run test and generate core dump
146-
if: matrix.name == 'linux'
147-
continue-on-error: true # so workflow doesn't stop on segfault
148-
run: |
149-
./dist/main || echo "segfault occurred"
150-
ls -lh /tmp/core.*
151-
152138
- name: Upload core dump
153139
if: always() # upload even if previous step failed
154140
uses: actions/upload-artifact@v4
155141
with:
156142
name: core-dump
157-
path: /tmp/core.*
143+
path: /var/lib/systemd/coredump/core.*
158144

159145
- name: test sqlite-sync + coverage
160146
if: matrix.name == 'macos'

0 commit comments

Comments
 (0)