File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,9 @@ jobs:
157157 - name : Build
158158 run : |
159159 scons -j 2 install BUILD_TYPE=${{ matrix.buildType }} OPTIONS=${{ matrix.options }} BUILD_CACHEDIR=sconsCache
160+ # Copy the config log for use in the "Debug Failures" step, because it
161+ # gets clobbered by the `scons test*` call below.
162+ cp config.log buildConfig.log
160163
161164 - name : Test
162165 run : |
@@ -185,3 +188,17 @@ jobs:
185188
186189 - name : Limit cache size
187190 run : python ./.github/workflows/main/limitCacheSize.py
191+
192+ - name : Debug Failures
193+ run : |
194+ # Give MacOS crash reporter time to do its thing
195+ sleep 20
196+ # Print SCons logs and MacOS crash logs
197+ shopt -s nullglob
198+ for logFile in buildConfig.log ~/Library/Logs/DiagnosticReports/*.crash
199+ do
200+ echo $logFile
201+ cat $logFile
202+ done
203+ shell : bash
204+ if : failure()
You can’t perform that action at this time.
0 commit comments