Skip to content

Commit 7bed84f

Browse files
committed
travis: See if OSX generates crash dumps
I know for a fact we've had sccache segfault on various platforms and we've also historically had a lot of problems with the linker on OSX. Let's just poke around in the crash log directory to see if anything exists. If in the future we see a build we think segfaulted *and* there's contents here then we can add some bits that actually print out the logs.
1 parent d558037 commit 7bed84f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,17 @@ after_failure:
153153
echo "#### Build failed; Disk usage after running script:";
154154
df -h;
155155
du . | sort -nr | head -n100
156+
157+
# One of these is the linux sccache log, one is the OSX sccache log. Instead
158+
# of worrying about what system we are just cat both. One of these commands
159+
# will fail but that's ok, they'll both get executed.
156160
- cat obj/tmp/sccache.log
157161
- cat /tmp/sccache.log
158162

163+
# Random attempt at debugging currently. Just poking around in here to see if
164+
# anything shows up.
165+
- ls $HOME/Library/Logs/DiagnosticReports/
166+
159167
# Save tagged docker images we created and load them if they're available
160168
before_cache:
161169
- docker history -q rust-ci |

0 commit comments

Comments
 (0)