aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions/coin_qt_build_docs.yaml
blob: 6f55481670518e4f3ed6a72eb55cb05d2e3150e8 (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
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"