blob: 72c2b0fa8f54b9d798f2f3a017960aaaa4c1e422 (
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
|
type: Group
instructions:
- !include "{{qt/qtbase}}/coin_module_test_template_common.yaml"
- type: ChangeDirectory
directory: "{{.SourceDir}}_build"
- type: EnvironmentVariable
variableName: CMAKE_BUILD_TIMEOUT
variableValue: "6000"
enable_if:
condition: runtime
env_var: CMAKE_BUILD_TIMEOUT
equals_value: null
- type: EnvironmentVariable
variableName: CMAKE_BUILD_OUTPUT_TIMEOUT
variableValue: "1200"
enable_if:
condition: runtime
env_var: CMAKE_BUILD_OUTPUT_TIMEOUT
equals_value: null
- type: ExecuteCommand
command: "{{.Env.CONFIGURE_ENV_PREFIX}} ninja check_coverage"
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
ignoreExitCode: false
maxTimeInSeconds: 10800
maxTimeBetweenOutput: 900
userMessageOnFailure: >
Failed to run tests.
- type: MakeDirectory
directory: "upload"
- type: ExecuteCommand
command: "zip -r upload/coverage-report.zip coverage-report"
ignoreExitCode: false
maxTimeInSeconds: 10800
maxTimeBetweenOutput: 900
userMessageOnFailure: >
Failed to zip the coverage-report.
- type: ScheduleUploadTestResults
- type: EnvironmentVariable
variableName: COIN_CTEST_RESULTSDIR
variableValue: "{{.SourceDir}}_build/upload"
|