actions
actions copied to clipboard
Uploading crash reports or backtrace upon segfault in CMD check
It would be nice to get a backtrace in case an example or tests causes a segfault. Similar to this in travis: https://github.com/r-lib/processx/blob/1ca0eacae67004d51b753cfcd20554589287de19/.travis.yml#L27-L48
The MacOS case is the easiest, I think we can just upload ~/Library/Logs/DiagnosticReports/*.ips
after CMD check by default.
On Windows it may be possible to get backtraces by installing a just-in-time debugger like drmingw before running CMD check, but this should probably be opt-in only.