From 5b2e2305a054a2ea3354a124bda467e5018b8ce6 Mon Sep 17 00:00:00 2001 From: Isaac Nickaein Date: Mon, 24 Jun 2019 20:11:56 +0430 Subject: [PATCH] CI: Skip test-unit_all on MSVC Debug builds --- appveyor.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ae8dbfa9..0a92a6c9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -103,6 +103,9 @@ build_script: - cmake --build . --config "%configuration%" test_script: - # Set 1 hour timeout to avoid the occasional - # timeouts on test-unicode_all - - ctest --timeout 3600 -C "%configuration%" -V -j + - if "%configuration%"=="Release" ctest -C "%configuration%" -V -j + # On Debug builds, skip test-unicode_all + # as it is extremely slow to run and cause + # occasional timeouts on AppVeyor. + # More info: https://github.com/nlohmann/json/pull/1570 + - if "%configuration%"=="Debug" ctest --exclude-regex "test-unicode_all" -C "%configuration%" -V -j