summaryrefslogtreecommitdiffstats
path: root/coin/instructions/coin_qtbase_test_docs.yaml
blob: 824d8c567759d61d06ab8c7fe4a5510eb5ecc2d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
type: Group
instructions:
  - type: EnvironmentVariable
    variableName: QDOC_NOLINKERRORS
    variableValue: 1
  - type: EnvironmentVariable
    variableName: QDOC_ENABLE_WARNINGLIMIT
    variableValue: 1
  - type: SetBuildDirectory
    directory: "{{.SourceDir}}"
  - type: ChangeDirectory
    directory: "{{.BuildDir}}"
  - type: ExecuteCommand
    command: "cp -rfs /opt/qt-doctools/. {{.InstallDir}}"
    userMessageOnFailure: >
      Failed to create links to provisioned binaries.
  - type: ExecuteCommand
    command: "{{.Env.ENV_PREFIX}} cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} -DQT_BUILD_TESTS=OFF {{.SourceDir}}"
    executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
    maxTimeInSeconds: 6000
    maxTimeBetweenOutput: 1200
    userMessageOnFailure: >
      Failed to call cmake.
  - type: ExecuteCommand
    command: "{{.Env.ENV_PREFIX}} cmake --build . --target generate_docs -v"
    ignoreExitCode: false
    maxTimeInSeconds: 1800
    maxTimeBetweenOutput: 900
    userMessageOnFailure: >
      Documentation check failed, see the log for details.
enable_if:
  condition: and
  conditions:
  - condition: property
    property: features
    contains_value: "TestDocs"
  - condition: property
    property: host.os
    equals_property: target.os