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
|
|
|
|
directory: "standalone_tests"
|
|
|
|
- type: SetBuildDirectory
|
|
|
|
directory: "{{.SourceDir}}/standalone_tests"
|
|
|
|
- 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
|
2019-09-25 08:38:53 +00:00
|
|
|
command: "{{.Env.ENV_PREFIX}} cmake --build . --parallel"
|
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"
|