summaryrefslogtreecommitdiff
path: root/coin/module_config.yaml
blob: 9f323f367b4fe35a2123fdee83657ba9d72f5da6 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 2
tags: ["documentation"]
accept_configuration:
  condition: and
  conditions:
    - condition: property
      property: features
      not_contains_value: Disable
    - condition: or
      conditions:
        - condition: property
          property: target.os
          not_equals_value: MacOS
        - condition: property
          property: host.arch
          not_equals_value: ARM64
    - condition: or
      conditions:
        - condition: property
          property: platformDependency.target.os
          not_equals_value: MacOS
        - condition: property
          property: platformDependency.host.arch
          not_equals_value: ARM64

instructions:
  Build:
  - type: EnvironmentVariable
    variableName: BUILD_DOCUMENTATION
    variableValue: "1"
  - type: AppendToEnvironmentVariable
    variableName: NON_QTBASE_TARGET_CMAKE_ARGS
    variableValue: "-DINPUT_hardware_id=dummyHwId -DQT_FORCE_BUILD_TOOLS=ON"
    enable_if:
      condition: property
      property: target.os
      equals_value: QNX
  - type: PrependToEnvironmentVariable
    variableName: PATH
    variableValue: "/home/qt/openssl-3.0.7/bin:"
    enable_if:
      condition: property
      property: target.osVersion
      equals_value: "openSUSE_15_4"
  - type: Group
    instructions:
        - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"

  Test:
    - type: EnvironmentVariable
      variableName: AM_TIMEOUT_FACTOR
      variableValue: 4
    - type: EnvironmentVariable
      variableName: AM_NO_CUSTOM_LOGGING
      variableValue: 1
    - type: EnvironmentVariable
      variableName: AM_NO_CRASH_HANDLER
      variableValue: 1
    - type: Group
      instructions:
        - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
        - !include "{{qt/qtbase}}/coin_module_test_docs.yaml"
      disable_if:
        condition: property
        property: target.os
        in_values: ["IOS", "Android", "WebAssembly"]