summaryrefslogtreecommitdiffstats
path: root/coin/module_config.yaml
blob: 5069e9d7a01a10c7c4bd23be07c013a203e072c6 (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
version: 2
accept_configuration:
  condition: property
  property: features
  not_contains_value: Disable

instructions:
  Build:
    - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"

  Test:
    - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
    - type: Group
      instructions:
        - !include "{{qt/qtbase}}/prepare_building_env.yaml"
        - type: EnvironmentVariable
          variableName: QDOC_NOLINKERRORS
          variableValue: 1
        - type: EnvironmentVariable
          variableName: QDOC_ENABLE_WARNINGLIMIT
          variableValue: 1
        - type: SetBuildDirectory
          directory: "{{.SourceDir}}"
        - type: ChangeDirectory
          directory: "{{.BuildDir}}"
        - type: EnvironmentVariable
          variableName: COIN_CMAKE_ARGS
          variableValue: "-DBUILD_TESTING=OFF {{.SourceDir}}"
        - !include "{{qt/qtbase}}/call_cmake.yaml"
        - type: ExecuteCommand
          command: "cmake --build . --target generate_docs"
          maxTimeInSeconds: 1800
          maxTimeBetweenOutput: 900
          userMessageOnFailure: "Documentation check failed, see the log for details."
      enable_if:
        condition: property
        property: features
        contains_value: "TestDocs"