summaryrefslogtreecommitdiffstats
path: root/coin/instructions/make_instructions.yaml
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2019-07-08 13:21:42 +0300
committerSimo Fält <simo.falt@qt.io>2020-03-17 09:27:45 +0200
commit27640a1ba975617a4e498c8c1730043637f3f84b (patch)
treef34a6a850b56cda2a8d0aabd6122c4fbffd1e0cd /coin/instructions/make_instructions.yaml
parentd98e8e8b62c90ee867e8f25fabca4f3adeeacbea (diff)
Initial version of module_config.yaml
Change-Id: Ifd6ef236400cf449278e48ccc14ffd8fc4d8b2a8 Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
Diffstat (limited to 'coin/instructions/make_instructions.yaml')
-rw-r--r--coin/instructions/make_instructions.yaml77
1 files changed, 77 insertions, 0 deletions
diff --git a/coin/instructions/make_instructions.yaml b/coin/instructions/make_instructions.yaml
new file mode 100644
index 000000000..4a4eb2281
--- /dev/null
+++ b/coin/instructions/make_instructions.yaml
@@ -0,0 +1,77 @@
+type: Group
+instructions:
+ - type: Group
+ instructions:
+ - type: ExecuteCommand
+ command: Mingw32-make
+ maxTimeInSeconds: 36000
+ maxTimeBetweenOutput: 3600
+ userMessageOnFailure: "Failed to run make, check logs."
+ - type: ExecuteCommand
+ command: "Mingw32-make -j1 install INSTALL_ROOT={{.InstallRoot}}"
+ maxTimeInSeconds: 1800
+ maxTimeBetweenOutput: 600
+ userMessageOnFailure: "Failed to run make install, check logs."
+ enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ equals_value: Windows
+ - condition: property
+ property: target.compiler
+ in_values: [Mingw53, Mingw73, Clang]
+
+ - type: Group
+ instructions:
+ - type: ExecuteCommand
+ command: make
+ maxTimeInSeconds: 36000
+ maxTimeBetweenOutput: 3600
+ userMessageOnFailure: "Failed to run make, check logs."
+ - type: ExecuteCommand
+ command: "make install INSTALL_ROOT={{.InstallRoot}}"
+ maxTimeInSeconds: 1800
+ maxTimeBetweenOutput: 600
+ userMessageOnFailure: "Failed to run install, check logs."
+ enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ not_equals_value: Windows
+ - condition: property
+ property: target.compiler
+ in_values: [GCC, Clang, ICC_17, ICC_18]
+
+ - type: Group
+ instructions:
+ - type: ExecuteCommand
+ command: "jom"
+ maxTimeInSeconds: 36000
+ maxTimeBetweenOutput: 3600
+ userMessageOnFailure: "Failed to run jom/make, check logs."
+ - type: ExecuteCommand
+ command: "nmake install INSTALL_ROOT={{.InstallRoot}}"
+ maxTimeInSeconds: 1800
+ maxTimeBetweenOutput: 600
+ userMessageOnFailure: "Failed to run nmake install, check logs."
+ enable_if:
+ condition: property
+ property: target.compiler
+ in_values: [MSVC2013, MSVC2015, MSVC2017, MSVC2019]
+
+ - type: SignPackage
+ directory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
+ maxTimeInSeconds: 1200
+ maxTimeBetweenOutput: 1200
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+
+ - type: UploadArtifact
+ archiveDirectory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
+ transferType: UploadModuleBuildArtifact
+ maxTimeInSeconds: 1800
+ maxTimeBetweenOutput: 1800