From c3b23b3b1413c92137b329fd63f95abc1cd7a8b1 Mon Sep 17 00:00:00 2001 From: kennytm Date: Fri, 11 May 2018 12:30:50 +0800 Subject: [PATCH] AppVeyor: Dump crash log on failure. --- appveyor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index a92f4a17811..60f5b4be8de 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -211,6 +211,11 @@ test_script: - set NO_CCACHE=1 - sh src/ci/run.sh +on_failure: + # Dump crash log + - set PATH=%PATH%;"C:\Program Files (x86)\Windows Kits\10\Debuggers\X64" + - if exist %LOCALAPPDATA%\CrashDumps for %%f in (%LOCALAPPDATA%\CrashDumps\*) do cdb -c "k;q" -G -z "%%f" + branches: only: - auto