summaryrefslogtreecommitdiffstats
path: root/coin/instructions/call_host_cmake.yaml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-11-14 11:51:11 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-02-07 10:05:51 +0000
commitd445112cc03d730d659d1eeaa84d963f85731ac5 (patch)
tree31acd09220502ff155f04a51deae539649b3467e /coin/instructions/call_host_cmake.yaml
parentb06f08646013bf3042fa86aa2343447ca8b57cef (diff)
cmake: upload artifact for qtbase android build and etc
Task-number: QTBUG-78945 Change-Id: I3361e63ed4830ac0e1ebb9d4b9495df09c45f476 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin/instructions/call_host_cmake.yaml')
-rw-r--r--coin/instructions/call_host_cmake.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/coin/instructions/call_host_cmake.yaml b/coin/instructions/call_host_cmake.yaml
new file mode 100644
index 0000000000..f626214f2b
--- /dev/null
+++ b/coin/instructions/call_host_cmake.yaml
@@ -0,0 +1,23 @@
+type: Group
+instructions:
+ - type: ExecuteCommand
+ command: "{{.Env.ENV_PREFIX}} {{.InstallDir}}\\host\\bin\\qt-cmake {{.Env.COIN_CMAKE_ARGS}}"
+ executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
+ maxTimeInSeconds: 6000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: >
+ Failed to call cmake. Contact Liang then.
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ - type: ExecuteCommand
+ command: "{{.InstallDir}}/host/bin/qt-cmake {{.Env.COIN_CMAKE_ARGS}}"
+ maxTimeInSeconds: 6000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: >
+ Failed to call cmake. Contact Liang then.
+ disable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows