mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Makes it a bit cleaner to follow. Pick-to: 6.2 6.3 Change-Id: I063581126b6d09f98fb38862c8af5531dc513aca Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Toni Saario <toni.saario@qt.io>
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
type: Group
|
|
instructions:
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.ENV_PREFIX}} cmake --build . --target qtbase/src/plugins/platforms/all qtbase/src/plugins/sqldrivers/all qttools/all --parallel -v"
|
|
maxTimeInSeconds: 12000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: >
|
|
Failed to build sources.
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.ENV_PREFIX}} cmake --build . --target docs -v"
|
|
maxTimeInSeconds: 12000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: >
|
|
Failed to generate docs.
|
|
- type: ExecuteCommand
|
|
command: "cp -r {{.BuildDir}}/qtbase/doc/config {{.BuildDir}}/doc"
|
|
maxTimeInSeconds: 12000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: "Failed to copy qtbase/doc/config to documentation directory."
|
|
- type: ExecuteCommand
|
|
command: "cp -r {{.BuildDir}}/qtbase/doc/global {{.BuildDir}}/doc"
|
|
maxTimeInSeconds: 12000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: "Failed to copy qtbase/doc/global to documentation directory."
|
|
- type: UploadArtifact
|
|
archiveDirectory: '{{.BuildDir}}/doc'
|
|
transferType: UploadModuleDocumentation
|
|
maxTimeInSeconds: 1800
|
|
maxTimeBetweenOutput: 1800
|
|
enable_if:
|
|
condition: property
|
|
property: features
|
|
contains_value: "Documentation"
|