From 94a597d37a787d18ba239f4326a00f83cd977fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Wed, 25 May 2022 09:58:25 +0300 Subject: Take python3.7 in use with win11 and python3.10 with win10 Pick-to: 6.3 Change-Id: Ifd34be5de6d2cdbeb571320a21dfd3bb7ec47b37 Reviewed-by: Shyamnath Premnadh Reviewed-by: Friedemann Kleint --- coin_build_instructions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'coin_build_instructions.py') 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 -- cgit v1.2.3