| 1 |
type: Group |
| 2 |
instructions: |
| 3 |
# Call jom when host os is Windows + MSVC |
| 4 |
- type: Group |
| 5 |
instructions: |
| 6 |
# Clear the automatically set MAKEFLAGS variable |
| 7 |
- type: EnvironmentVariable |
| 8 |
variableName: MAKEFLAGS |
| 9 |
variableValue: "" |
| 10 |
# Call jom |
| 11 |
- type: ExecuteCommand |
| 12 |
command: "{{.Env.ENV_PREFIX}} {{.Env.CI_JOM_PATH}}\\jom.exe" |
| 13 |
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution |
| 14 |
maxTimeInSeconds: 6000 |
| 15 |
maxTimeBetweenOutput: 1200 |
| 16 |
userMessageOnFailure: > |
| 17 |
Failed to call jom. |
| 18 |
enable_if: |
| 19 |
condition: and |
| 20 |
conditions: |
| 21 |
- condition: property |
| 22 |
property: host.os |
| 23 |
equals_value: Windows |
| 24 |
- condition: property |
| 25 |
property: host.compiler |
| 26 |
not_contains_value: "Mingw" |
| 27 |
# Call make when host os is not Windows (Linux, macOS) |
| 28 |
- type: ExecuteCommand |
| 29 |
command: "{{.Env.CALL_MAKE_ENV_PREFIX}} make -j {{.NumCPU}}" |
| 30 |
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution |
| 31 |
maxTimeInSeconds: 6000 |
| 32 |
maxTimeBetweenOutput: 1200 |
| 33 |
userMessageOnFailure: > |
| 34 |
Failed to call make. |
| 35 |
enable_if: |
| 36 |
condition: property |
| 37 |
property: target.os |
| 38 |
not_equals_value: Windows |
| 39 |
# Call mingw32-make when host os is Windows + MinGW (this includes building for Android) |
| 40 |
- type: ExecuteCommand |
| 41 |
command: "{{.Env.CALL_MAKE_ENV_PREFIX}} mingw32-make -j {{.NumCPU}}" |
| 42 |
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution |
| 43 |
maxTimeInSeconds: 6000 |
| 44 |
maxTimeBetweenOutput: 1200 |
| 45 |
userMessageOnFailure: > |
| 46 |
Failed to call mingw32-make. |
| 47 |
enable_if: |
| 48 |
condition: and |
| 49 |
conditions: |
| 50 |
- condition: property |
| 51 |
property: host.os |
| 52 |
equals_value: Windows |
| 53 |
- condition: property |
| 54 |
property: host.compiler |
| 55 |
contains_value: "Mingw" |