Cloning the git sources will: - allow embedding the git sha1 into the SBOM generated by the build system - ease development process in CI VMs when investigating issues. This will slightly slow down the CI build phase by a minute or two. Pick-to: 6.8 Task-number: QTBUG-122899 Task-number: QTQAINFRA-6520 Change-Id: If554ed0fedca26ff77d04752288ee8497bc4b9ce Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit 5717a4fd4a3fd2ba530a7eb4812ce2a5c34515cb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
26 lines
569 B
YAML
26 lines
569 B
YAML
version: 2
|
|
tags: [git]
|
|
accept_configuration:
|
|
condition: property
|
|
property: features
|
|
not_contains_value: Disable
|
|
|
|
machine_type:
|
|
Build:
|
|
cores: 8
|
|
Test:
|
|
cores: 4
|
|
|
|
instructions:
|
|
|
|
Build:
|
|
# to be turned on when the module source SBOM pass the license check
|
|
- type: EnvironmentVariable
|
|
variableName: VERIFY_SOURCE_SBOM
|
|
variableValue: "ON"
|
|
- !include "{{qt/qtbase}}/coin_qtbase_build_template_v2.yaml"
|
|
|
|
Test:
|
|
- !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
|
|
- !include "{{qt/qtbase}}/coin_qtbase_test_docs.yaml"
|