summaryrefslogtreecommitdiffstats
path: root/coin/instructions/make_win_docs_instructions.yaml
blob: 5d5f28f675c5104456c3660a2afd46e335460bb5 (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: Group
    instructions:
      - type: ChangeDirectory
        directory: "{{.SourceDir}}\\doc"
        maxTimeInSeconds: 300
        maxTimeBetweenOutput: 120
        userMessageOnFailure: "Failed to change dir"
      - type: ExecuteCommand
        command: ['sed', '-i', 's/Users\\qt\\work\\install/Utils\\qt-bld-dynamic\\qtbase/g', 'qdoc_wrapper.bat']
        maxTimeInSeconds: 36000
        maxTimeBetweenOutput: 3600
        userMessageOnFailure: 'Failed to patch qdoc_wrapper.bat.'
      - type: ChangeDirectory
        directory: "{{.BuildDir}}"
        maxTimeInSeconds: 300
        maxTimeBetweenOutput: 120
        userMessageOnFailure: "Failed to change dir"
      - type: ExecuteCommand
        command: ['jom', 'html_docs']
        maxTimeInSeconds: 36000
        maxTimeBetweenOutput: 3600
        userMessageOnFailure: 'Could not build documentation.'
      - type: UploadArtifact
        archiveDirectory: '{{.BuildDir}}\\doc'
        transferType: UploadModuleDocumentation
        maxTimeInSeconds: 1800
        maxTimeBetweenOutput: 1800
    enable_if:
      condition: property
      property: target.compiler
      in_values: [MSVC2013, MSVC2015, MSVC2017, MSVC2019]