716e41e86f
In qmake builds we can see the moc invocations, whereas in CMake builds by default we don't. Modify the Coin instructions to pass the CMAKE_AUTOGEN_VERBOSE cache variable so that AUTOMOC prints the moc invocations. Change-Id: I50be13224839fbbdece3c9e8a4935a72aba91a8e Reviewed-by: Cristian Adam <cristian.adam@qt.io>
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
type: Group
|
|
instructions:
|
|
- type: ChangeDirectory
|
|
directory: "{{.SourceDir}}"
|
|
- type: MakeDirectory
|
|
directory: "{{.SourceDir}}_standalone_tests"
|
|
- type: SetBuildDirectory
|
|
directory: "{{.SourceDir}}_standalone_tests"
|
|
- type: ChangeDirectory
|
|
directory: "{{.BuildDir}}"
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_CMAKE_ARGS
|
|
variableValue: "-DQT_BUILD_STANDALONE_TESTS=ON -DCMAKE_AUTOGEN_VERBOSE=ON -S {{.SourceDir}} -B ."
|
|
- !include "{{qt/qtbase}}/call_cmake_for_standalone_tests.yaml"
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.TESTS_ENV_PREFIX}} cmake --build . --parallel -v"
|
|
maxTimeInSeconds: 6000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: >
|
|
Failed to build sources. In the current state bug can be everywhere.
|
|
- type: UploadTestArtifact
|
|
transferType: UploadModuleTestsArtifact
|
|
archiveDirectory: "{{.BuildDir}}"
|
|
maxTimeInSeconds: 1200
|
|
maxTimeBetweenOutput: 1200
|
|
disable_if:
|
|
condition: property
|
|
property: configureArgs
|
|
contains_value: "-DBUILD_SHARED_LIBS=OFF"
|