From 93a1cde67d59325cb541adef03a532bb08155230 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Fri, 18 Oct 2019 16:30:48 +0200 Subject: Continuous integration improvements (#5703) * Add workaround for imgtool and jedutil failing vs2019 debug builds with /ZI * No longer allow msvc build to fail * Enable tools build for travis to make it more useful * Switch travis to Xcode 11 in order to fix nltool linking failure * Prefer 64-bit compiler with VS 2019 too * Setting PreferredToolArchitecture to x64 is not needed, genie puts it into the project files for vs2015 or later * OPTIMIZE=1 build is faster that OPTIMIZE=0 for some reason. So fast in fact, that TOOLS=1 can be enabled without hitting the 60 minute timeout * Switch MINGW build to VS 2017 image until appveyor figure out why builds on VS 2019 are almost twice as slow * Run pacman twice to account for core system upgrades --- scripts/src/tools.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'scripts/src') diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index 25adcfbf7dd..09f8739e30a 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -133,6 +133,15 @@ files { configuration { "mingw*" or "vs*" } targetextension ".exe" +-- workaround for https://developercommunity.visualstudio.com/content/problem/752372/vs2019-v1631-c-internal-compiler-error-when-zi-opt.html +-- should be fixed in 16.5 +configuration { "Debug", "vs2019" } + if _OPTIONS["vs"]==nil then + flags { + "NoEditAndContinue", + } + end + configuration { } strip() @@ -749,6 +758,15 @@ files { configuration { "mingw*" or "vs*" } targetextension ".exe" +-- workaround for https://developercommunity.visualstudio.com/content/problem/752372/vs2019-v1631-c-internal-compiler-error-when-zi-opt.html +-- should be fixed in 16.5 +configuration { "Debug", "vs2019" } + if _OPTIONS["vs"]==nil then + flags { + "NoEditAndContinue", + } + end + configuration { } strip() -- cgit v1.2.3-70-g09d2