aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-03 14:41:11 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-03 14:51:45 +0200
commitd850748283698596327653ec30decdbd6c964af8 (patch)
tree6efc71e7877294fb616f88f1f17f089d4dce1b84 /build_scripts/utils.py
parent46ff21ee14e00b992b49562943274d62f2b5b456 (diff)
parentffae5fe2f3312fdad7ef5880308dae4fd31fec94 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'build_scripts/utils.py')
-rw-r--r--build_scripts/utils.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py
index cca93d09f..1a622aad5 100644
--- a/build_scripts/utils.py
+++ b/build_scripts/utils.py
@@ -1117,3 +1117,16 @@ def run_instruction(instruction, error):
if result != 0:
print("ERROR : " + error)
exit(result)
+
+def acceptCITestConfiguration(hostOS, hostOSVer, targetArch, compiler):
+ # Disable unsupported CI configs for now
+ # NOTE: String must match with QT CI's storagesturct thrift
+ if hostOSVer in ["WinRT_10", "MacOS_10_13"]:
+ print("Disabled " + hostOSVer + " from Coin configuration")
+ return False
+ # With 5.11 CI will create two sets of release binaries, one with msvc 2015 and one with msvc 2017
+ # we shouldn't release the 2015 version. BUT, 32 bit build is done only on msvc 2015...
+ if compiler in ["MSVC2015"] and targetArch in ["X86_64"]:
+ print("Disabled " + compiler + " to " + targetArch + " from Coin configuration")
+ return False
+ return True