2019-08-22 06:21:24 +00:00
|
|
|
type: Group
|
|
|
|
instructions:
|
|
|
|
- type: MakeDirectory
|
|
|
|
directory: .git
|
|
|
|
- type: SetBuildDirectory
|
|
|
|
directory: "{{.SourceDir}}"
|
|
|
|
- type: ChangeDirectory
|
|
|
|
directory: "{{.BuildDir}}"
|
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: COIN_CMAKE_ARGS
|
2020-07-09 07:59:21 +00:00
|
|
|
# The lack of space between the non qtbase configure args and the rest of the args is important!
|
2021-12-15 18:15:42 +00:00
|
|
|
variableValue: "{{.Env.NON_QTBASE_CONFIGURE_ARGS}} {{.SourceDir}}"
|
2019-08-22 06:21:24 +00:00
|
|
|
- !include "{{qt/qtbase}}/call_cmake.yaml"
|
2021-05-11 06:18:23 +00:00
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: CMAKE_BUILD_TIMEOUT
|
|
|
|
variableValue: "6000"
|
|
|
|
enable_if:
|
|
|
|
condition: runtime
|
|
|
|
env_var: CMAKE_BUILD_TIMEOUT
|
|
|
|
equals_value: null
|
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: CMAKE_BUILD_OUTPUT_TIMEOUT
|
|
|
|
variableValue: "1200"
|
|
|
|
enable_if:
|
|
|
|
condition: runtime
|
|
|
|
env_var: CMAKE_BUILD_OUTPUT_TIMEOUT
|
|
|
|
equals_value: null
|
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"
|
2021-05-11 06:18:23 +00:00
|
|
|
maxTimeInSeconds: "{{.Env.CMAKE_BUILD_TIMEOUT}}"
|
|
|
|
maxTimeBetweenOutput: "{{.Env.CMAKE_BUILD_OUTPUT_TIMEOUT}}"
|
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: "{{.InstallDir}}"
|
|
|
|
- !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"
|