summaryrefslogtreecommitdiffstats
path: root/coin/module_config.yaml
blob: ddf9ba07247c42e17cc76a7fca5f6c66d31d3d02 (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
version: 2
tags: ["documentation"]
accept_configuration:
  condition: and
  conditions:
    - condition: property
      property: features
      not_contains_value: Disable

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
  # Enable Axivion_analysis for Qt
  - type: EnvironmentVariable
    variableName: AXIVION_ANALYSIS
    variableValue: "1"
    enable_if:
      condition: property
      property: features
      contains_value: Axivion_qtapplicationmanager
  - type: Rename
    sourcePath: "{{.SourceDir}}/coin/axivion/ci_config_common.json"
    targetPath: "{{.Env.HOME}}/axivion/ci_config_common.json"
    userMessageOnFailure: "Moving ci_config_common.json failed. Make sure you have included the file in coin/axivion/ -folder"
    enable_if:
      condition: property
      property: features
      contains_value: Axivion_qtapplicationmanager
  - 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", "QNX"]