summaryrefslogtreecommitdiffstats
path: root/coin/instructions/make_instructions.yaml
diff options
context:
space:
mode:
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