mirror of https://github.com/qt/qtbase.git
Coin: Add qtbase yaml instructions to build Android docs with JavaDoc
The instructions build CMake targets docs_android and android_source_jars after qtbase is built. Task-number: QTBUG-138976 Change-Id: I585834463eed8d47742cc17d19103c5060b7fb3b Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
This commit is contained in:
parent
824c333aac
commit
b8f792eb36
|
@ -0,0 +1,22 @@
|
|||
type: Group
|
||||
instructions:
|
||||
- type: ChangeDirectory
|
||||
directory: "{{.BuildDir}}"
|
||||
|
||||
# Build HTML JavaDocs for Android
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.TARGET_ENV_PREFIX}} cmake --build . --parallel -v --target docs_android"
|
||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||
maxTimeInSeconds: 6000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to build Android JavaDocs (target: docs_android).
|
||||
|
||||
# Build source jars (used for IDEs)
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.TARGET_ENV_PREFIX}} cmake --build . --parallel -v --target android_source_jars"
|
||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||
maxTimeInSeconds: 6000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to build Android Java source jars (target: android_source_jars).
|
|
@ -96,6 +96,18 @@ instructions:
|
|||
- condition: property
|
||||
property: features
|
||||
contains_value: Packaging
|
||||
- type: Group
|
||||
instructions:
|
||||
- !include "{{qt/qtbase}}/build_android_javadocs.yaml"
|
||||
enable_if:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: JavaDocs
|
||||
- condition: property
|
||||
property: target.osVersion
|
||||
equals_value: "Android_ANY"
|
||||
- type: UploadArtifact
|
||||
archiveDirectory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
|
||||
transferType: UploadModuleBuildArtifact
|
||||
|
|
Loading…
Reference in New Issue