diff options
author | 2019-10-18 16:30:48 +0200 | |
---|---|---|
committer | 2019-10-18 10:30:48 -0400 | |
commit | 93a1cde67d59325cb541adef03a532bb08155230 (patch) | |
tree | 0ca0d7cf45de3fee5ec67d80d778d6a6cb02da9e /scripts/src/tools.lua | |
parent | 14f2ce1a37dee5f8ba2e774dcb04778fd3b4da69 (diff) |
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
Diffstat (limited to 'scripts/src/tools.lua')
-rw-r--r-- | scripts/src/tools.lua | 18 |
1 files changed, 18 insertions, 0 deletions
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() |