aboutsummaryrefslogtreecommitdiffstats
path: root/coin_build_instructions.py
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2022-05-25 15:40:53 +0300
committerSimo Fält <simo.falt@qt.io>2022-06-02 14:10:22 +0300
commitd95496865a8bb5fc535ccec208765971e57da339 (patch)
tree9df2ebaf1252c3ad42e24c7e5e661dc6e87ead0c /coin_build_instructions.py
parent0a187a3aa58d326349d6c3415a031f0f68fdb84a (diff)
Be more precise with signing directory
Sign binaries only in 'package_for_wheels' directory. This will save more than twenty minutes of overall build time with Win configs. Pick-to: 6.2 6.3 Change-Id: I3fe29a2e6854b9327c07b0eabba3a36bfd12d450 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'coin_build_instructions.py')
-rw-r--r--coin_build_instructions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py
index 36710bb6a..d4e3ff98d 100644
--- a/coin_build_instructions.py
+++ b/coin_build_instructions.py
@@ -3,6 +3,7 @@
import calendar
import datetime
import os
+import os.path
import site
import sys
@@ -157,6 +158,11 @@ if __name__ == "__main__":
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
+ if os.environ.get("QTEST_ENVIRONMENT") == "ci" and sys.platform == "win32":
+ signing_dir = os.path.join(os.getcwd(), "build", "qfpa-p3.6", "package_for_wheels")
+ print("Check for signing dir " + signing_dir)
+ assert(os.path.isdir(signing_dir))
if CI_TEST_PHASE in ["ALL", "WHEEL"]:
call_setup(python_ver, "WHEEL")