diff options
Diffstat (limited to 'coin/instructions/qmake_module_build.yaml')
-rw-r--r-- | coin/instructions/qmake_module_build.yaml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/coin/instructions/qmake_module_build.yaml b/coin/instructions/qmake_module_build.yaml index 120a7745f..3a7801b20 100644 --- a/coin/instructions/qmake_module_build.yaml +++ b/coin/instructions/qmake_module_build.yaml @@ -3,6 +3,16 @@ instructions: - type: MakeDirectory directory: ".git" + - type: Group + instructions: + - type: InstallSourceArchive + maxTimeInSeconds: 600 + maxTimeBetweenOutput: 600 + project: qtsdk/tqtc-qtsdk + ref: production + directory: qtsdk/tqtc-qtsdk + userMessageOnFailure: "Could not install qtsdk/tqtc-qtsdk source archive. Please investigate why." + - type: SetBuildDirectory directory: "{{.SourceDir}}" disable_if: @@ -23,9 +33,23 @@ instructions: directory: "{{.BuildDir}}" - type: ExecuteCommand - command: ["{{.InstallDir}}/bin/qmake", "INSTALL_PREFIX={{.InstallDir}}", "{{.SourceDir}}"] + command: ["{{.InstallDir}}/bin/qmake", "CONFIG+=libarchive", "QTPLUGIN.platforms = qminimal qxcb", "INSTALL_PREFIX={{.InstallDir}}", "{{.SourceDir}}"] + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 600 + userMessageOnFailure: "Failed to run qmake, check logs." + enable_if: + condition: property + property: host.os + equals_value: Linux + + - type: ExecuteCommand + command: ["{{.InstallDir}}/bin/qmake", "CONFIG+=libarchive", "INSTALL_PREFIX={{.InstallDir}}", "{{.SourceDir}}"] maxTimeInSeconds: 1800 maxTimeBetweenOutput: 600 userMessageOnFailure: "Failed to run qmake, check logs." + enable_if: + condition: property + property: host.os + not_equals_value: Linux - !include "{{installer-framework/installer-framework}}/make_instructions.yaml" - !include "{{installer-framework/installer-framework}}/make_documentation.yaml" |