2019-08-22 06:21:24 +00:00
|
|
|
type: Group
|
|
|
|
instructions:
|
|
|
|
- type: MakeDirectory
|
|
|
|
directory: .git
|
|
|
|
- type: SetBuildDirectory
|
|
|
|
directory: "{{.SourceDir}}"
|
|
|
|
- type: ChangeDirectory
|
|
|
|
directory: "{{.BuildDir}}"
|
|
|
|
- type: ExecuteCommand
|
|
|
|
command: "{{.Env.ENV_PREFIX}} cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} -DBUILD_TESTING=OFF {{.SourceDir}}"
|
|
|
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
|
|
|
maxTimeInSeconds: 6000
|
2019-09-03 11:33:57 +00:00
|
|
|
maxTimeBetweenOutput: 1200
|
2019-08-22 06:21:24 +00:00
|
|
|
userMessageOnFailure: >
|
2020-02-13 09:40:41 +00:00
|
|
|
Failed to call cmake.
|
2019-08-22 06:21:24 +00:00
|
|
|
- type: ExecuteCommand
|
2020-03-13 15:56:41 +00:00
|
|
|
command: "{{.Env.ENV_PREFIX}} cmake --build . --parallel -v"
|
2019-08-22 06:21:24 +00:00
|
|
|
maxTimeInSeconds: 6000
|
2019-09-03 11:33:57 +00:00
|
|
|
maxTimeBetweenOutput: 1200
|
2019-08-22 06:21:24 +00:00
|
|
|
userMessageOnFailure: >
|
2020-02-13 09:40:41 +00:00
|
|
|
Failed to build sources. In the current state bug can be everywhere.
|
2020-05-15 09:38:53 +00:00
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: COIN_CMAKE_INSTALL_SCRIPT_PATH
|
|
|
|
variableValue: "{{.BuildDir}}"
|
|
|
|
- !include "{{qt/qtbase}}/call_host_install.yaml"
|
2019-08-22 06:21:24 +00:00
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: DESTDIR
|
|
|
|
variableValue: "{{.InstallRoot}}"
|
2020-05-15 09:38:53 +00:00
|
|
|
- !include "{{qt/qtbase}}/call_host_install.yaml"
|
2019-08-22 06:21:24 +00:00
|
|
|
- type: SignPackage
|
|
|
|
enable_if:
|
|
|
|
condition: property
|
|
|
|
property: host.os
|
|
|
|
equals_value: Windows
|
|
|
|
directory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
|
|
|
|
maxTimeInSeconds: 1200
|
|
|
|
maxTimeBetweenOutput: 1200
|
|
|
|
- type: UploadArtifact
|
|
|
|
archiveDirectory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
|
|
|
|
transferType: UploadModuleBuildArtifact
|
|
|
|
maxTimeInSeconds: 1200
|
|
|
|
maxTimeBetweenOutput: 1200
|