diff options
| -rw-r--r-- | coin/instructions/execute_build_instructions.yaml | 2 | ||||
| -rw-r--r-- | coin_build_instructions.py | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/coin/instructions/execute_build_instructions.yaml b/coin/instructions/execute_build_instructions.yaml index 71ed80172..ef63c6e22 100644 --- a/coin/instructions/execute_build_instructions.yaml +++ b/coin/instructions/execute_build_instructions.yaml @@ -61,7 +61,7 @@ instructions: userMessageOnFailure: > Failed to execute build instructions on Windows - type: SignPackage - directory: "{{.AgentWorkingDir}}\\pyside" + directory: "{{.AgentWorkingDir}}\\pyside\\pyside-setup\\build\\qfpa-p3.6\\package_for_wheels" maxTimeInSeconds: 1200 maxTimeBetweenOutput: 1200 enable_if: 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") |
