Debian Codegraph @

coin/instructions/prepare_source_sbom_check.yaml

raw
1 type: Group
2 instructions:
3 # need qemu toolchains update to have perl script verifying source SBOM
4 - type: Group
5 instructions:
6 - type: EnvironmentVariable
7 variableName: VERIFY_SOURCE_SBOM
8 variableValue: "OFF"
9 enable_if:
10 condition: and
11 conditions:
12 - condition: property
13 property: host.os
14 equals_value: Linux
15 - condition: property
16 property: target.arch
17 equals_value: MIPS64
18 - type: Group
19 instructions:
20 - type: EnvironmentVariable
21 variableName: VERIFY_SOURCE_SBOM
22 variableValue: "OFF"
23 enable_if:
24 condition: and
25 conditions:
26 - condition: property
27 property: host.os
28 equals_value: Windows
29 - condition: property
30 property: target.arch
31 equals_value: AARCH64
32 - type: Group
33 instructions:
34 - !include "{{qt/qtbase}}/prepare_license_test.yaml"
35 - type: Group
36 instructions:
37 - type: EnvironmentVariable
38 variableName: QT_QA_LICENSE_TEST_DIR
39 variableValue: "{{.AgentWorkingDir}}"
40 - type: EnvironmentVariable
41 variableName: QT_SOURCE_SBOM_TEST_SCRIPT
42 variableValue: "qt{{.Env.CI_PATH_SEP}}qtqa-latest{{.Env.CI_PATH_SEP}}tests{{.Env.CI_PATH_SEP}}prebuild{{.Env.CI_PATH_SEP}}license{{.Env.CI_PATH_SEP}}tst_licenses.pl"
43 userMessageOnFailure: >
44 Failed to set QT_SOURCE_SBOM_TEST_SCRIPT environment variable. This should not happen.
45 enable_if:
46 condition: property
47 property: features
48 contains_value: GenerateSBOM
49
50
51
52