2019-08-22 06:21:24 +00:00
|
|
|
type: Group
|
|
|
|
instructions:
|
|
|
|
- type: ChangeDirectory
|
2019-11-01 10:48:23 +00:00
|
|
|
directory: "{{.SourceDir}}"
|
|
|
|
- type: MakeDirectory
|
2020-03-11 13:17:50 +00:00
|
|
|
directory: "{{.SourceDir}}_standalone_tests"
|
2019-11-01 10:48:23 +00:00
|
|
|
- type: SetBuildDirectory
|
2020-03-11 13:17:50 +00:00
|
|
|
directory: "{{.SourceDir}}_standalone_tests"
|
2019-11-01 10:48:23 +00:00
|
|
|
- type: ChangeDirectory
|
|
|
|
directory: "{{.BuildDir}}"
|
2019-08-22 06:21:24 +00:00
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: COIN_CMAKE_ARGS
|
2019-11-01 10:48:23 +00:00
|
|
|
variableValue: "-DQT_BUILD_STANDALONE_TESTS=ON -S {{.SourceDir}} -B ."
|
2019-08-22 06:21:24 +00:00
|
|
|
- !include "{{qt/qtbase}}/call_cmake.yaml"
|
|
|
|
- type: ExecuteCommand
|
2020-03-13 15:56:41 +00:00
|
|
|
command: "{{.Env.ENV_PREFIX}} cmake --build . --parallel -v"
|
2019-08-22 06:21:24 +00:00
|
|
|
maxTimeInSeconds: 6000
|
2019-09-03 11:33:57 +00:00
|
|
|
maxTimeBetweenOutput: 1200
|
2019-08-22 06:21:24 +00:00
|
|
|
userMessageOnFailure: >
|
2020-02-13 09:40:41 +00:00
|
|
|
Failed to build sources. In the current state bug can be everywhere.
|
2019-08-22 06:21:24 +00:00
|
|
|
- type: UploadTestArtifact
|
|
|
|
transferType: UploadModuleTestsArtifact
|
2019-11-01 10:48:23 +00:00
|
|
|
archiveDirectory: "{{.BuildDir}}"
|
2019-08-22 06:21:24 +00:00
|
|
|
maxTimeInSeconds: 1200
|
|
|
|
maxTimeBetweenOutput: 1200
|
|
|
|
disable_if:
|
|
|
|
condition: property
|
|
|
|
property: configureArgs
|
|
|
|
contains_value: "-DBUILD_SHARED_LIBS=OFF"
|