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
|
2020-10-19 11:35:15 +00:00
|
|
|
command: "{{.Env.ENV_PREFIX}} cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} -DQT_BUILD_TESTS=OFF {{.SourceDir}}"
|
2019-08-22 06:21:24 +00:00
|
|
|
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
|
2020-08-18 16:13:03 +00:00
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: COIN_CONFIG_TYPE
|
|
|
|
variableValue: "Host"
|
|
|
|
- !include "{{qt/qtbase}}/qmake/get_qmake_location_host.yaml"
|
|
|
|
- !include "{{qt/qtbase}}/qmake_examples/build_qmake_examples_instructions.yaml"
|