summaryrefslogtreecommitdiffstats
path: root/coin/instructions/common_environment.yaml
blob: 4bef13a71be52200f52a7be6a59aae1b2cdd0b49 (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
type: Group
instructions:
  - type: Group
    enable_if:
      condition: property
      property: target.compiler
      in_values: [MSVC2015, MSVC2017, MSVC2019]
    instructions:
      - type: EnvironmentVariable
        variableName: MAKEFLAGS
        variableValue: ""

  - type: PrependToEnvironmentVariable
    variableName: PATH
    variableValue: "{{.InstallDir}}\\bin;"
    enable_if:
      condition: property
      property: target.os
      equals_value: Windows

  - type: PrependToEnvironmentVariable
    variableName: PATH
    variableValue: "C:\\Utils\\gnuwin32\\bin;"
    enable_if:
      condition: property
      property: target.os
      equals_value: Windows

  - type: PrependToEnvironmentVariable
    variableName: PATH
    variableValue: "{{.Env.MINGW730}}\\bin;"
    enable_if:
      condition: property
      property: target.compiler
      equals_value: Mingw73

  - type: PrependToEnvironmentVariable
    variableName: PATH
    variableValue: "{{.Env.MINGW530}}\\bin;"
    enable_if:
      condition: property
      property: target.compiler
      equals_value: Mingw53

  - type: EnvironmentVariable
    variableName: LANG
    variableValue: en_US.UTF-8
    enable_if:
      condition: property
      property: host.os
      in_values: [MacOS, Linux]

  - type: Group
    instructions:
      - type: PrependToEnvironmentVariable
        variableName: PATH
        variableValue: "{{.InstallDir}}/bin:"
      - type: EnvironmentVariable
        variableName: DISPLAY
        variableValue: ":0"
    enable_if:
      condition: property
      property: host.os
      equals_value: Linux