mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Output macOS crash reports on CI with nicer formatting
This commit is contained in:
parent
8762a939c0
commit
e5b27d066c
2 changed files with 452 additions and 2 deletions
4
.github/workflows/ci.py
vendored
4
.github/workflows/ci.py
vendored
|
|
@ -31,8 +31,8 @@ def do_print_crash_reports():
|
|||
if items:
|
||||
time.sleep(1)
|
||||
print(os.path.basename(items[0]))
|
||||
with open(items[0]) as src:
|
||||
print(src.read())
|
||||
sdir = os.path.dirname(os.path.abspath(__file__))
|
||||
subprocess.check_call([sys.executable, os.path.join(sdir, 'macos_crash_report.py'), items[0]])
|
||||
else:
|
||||
run('sh -c "echo bt | coredumpctl debug"')
|
||||
print(flush=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue