diff options
author | Simo Fält <simo.falt@qt.io> | 2022-05-25 09:58:25 +0300 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2022-06-03 06:11:14 +0000 |
commit | 94a597d37a787d18ba239f4326a00f83cd977fb2 (patch) | |
tree | d811c2860523ad5438808bd8041f4d984609d093 /coin_build_instructions.py | |
parent | d95496865a8bb5fc535ccec208765971e57da339 (diff) |
Take python3.7 in use with win11 and python3.10 with win10
Pick-to: 6.3
Change-Id: Ifd34be5de6d2cdbeb571320a21dfd3bb7ec47b37
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'coin_build_instructions.py')
-rw-r--r-- | coin_build_instructions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py index d4e3ff98d..35a651455 100644 --- a/coin_build_instructions.py +++ b/coin_build_instructions.py @@ -156,6 +156,11 @@ if __name__ == "__main__": if CI_TARGET_OS in ["Linux"]: python_ver = "3.8" + if CI_TARGET_OS in ["Windows"]: + if os.environ.get('HOST_OSVERSION_COIN') == 'windows_10_21h2': + python_ver = "3.10" + else: + python_ver = "3.7" if CI_TEST_PHASE in ["ALL", "BUILD"]: call_setup(python_ver, "BUILD") # Until CI has a feature to set more dynamic signing dir, make sure it actually exist |