File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 5959 steps :
6060
616162-
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
69637064 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'
You can’t perform that action at this time.
0 commit comments