qt5base-lts/coin/module_config.yaml
Jędrzej Nowacki 87bb219a72 Move some configure arguments from qt5 configuration file
These arguments are specific to the build and changes to them are _not_
affecting configuration.

Change-Id: I8c46a0dbea8978f13e78c5cb8f41987f4fde09c8
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Liang Qi <liang.qi@qt.io>
2019-05-22 14:52:01 +00:00

59 lines
1.8 KiB
YAML

version: 1
accept_configuration:
condition: property
property: host.os
equals_property: target.os
build_instructions:
- type: MakeDirectory
directory: .git
- type: SetBuildDirectory
directory: "{{.SourceDir}}"
- type: ChangeDirectory
directory: "{{.BuildDir}}"
- type: ExecuteCommand
command: cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} {{.SourceDir}}
maxTimeInSeconds: 6000
maxTimeBetweenOutput: 120
userMessageOnFailure: >
Failed to call cmake. Contact Liang then.
- type: ExecuteCommand
command: make DESTDIR={{.InstallRoot}} install
maxTimeInSeconds: 6000
maxTimeBetweenOutput: 120
userMessageOnFailure: >
Failed to call make install. Contact Liang then.
disable_if:
condition: property
property: host.os
equals_value: Windows
- type: ExecuteCommand
command: jom DESTDIR={{.InstallRoot}} install
maxTimeInSeconds: 6000
maxTimeBetweenOutput: 120
userMessageOnFailure: >
Failed to call jom install. Contact Liang then.
disable_if:
condition: property
property: host.os
not_equals_value: Windows
- type: SignPackage
disable_if:
condition: property
property: host.os
not_equals_value: Windows
directory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
maxTimeInSeconds: 1200
maxTimeBetweenOutput: 1200
- type: UploadArtifact
archiveDirectory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
transferType: UploadModuleBuildArtifact
maxTimeInSeconds: 1200
maxTimeBetweenOutput: 1200
test_instructions:
- type: ExecuteCommand
command: echo "hello world - test"
maxTimeInSeconds: 60
maxTimeBetweenOutput: 12
userMessageOnFailure: >
Failed to call echo. Contact Liang then.