VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/SecurityPkg/SecurityPkg.ci.yaml@ 109019

Last change on this file since 109019 was 108794, checked in by vboxsync, 4 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1## @file
2# CI configuration for SecurityPkg
3#
4# Copyright (c) Microsoft Corporation
5# Copyright (c) 2020 - 2024, Intel Corporation. All rights reserved.<BR>
6# SPDX-License-Identifier: BSD-2-Clause-Patent
7##
8{
9 "PrEval": {
10 "DscPath": "SecurityPkg.dsc",
11 },
12 "LicenseCheck": {
13 "IgnoreFiles": [
14 "DeviceSecurity/SpdmLib/Include",
15 ]
16 },
17 "EccCheck": {
18 ## Exception sample looks like below:
19 ## "ExceptionList": [
20 ## "<ErrorID>", "<KeyWord>"
21 ## ]
22 "ExceptionList": [
23 "8005", "gRT",
24 "8001", "DxeTpm2MeasureBootLibUnitTestMain",
25 "8001", "DxeTpmMeasureBootLibUnitTestMain"
26 ],
27 ## Both file path and directory path are accepted.
28 "IgnoreFiles": [
29 "Library/TcgStorageCoreLib/TcgStorageUtil.c",
30 "Library/TcgStorageCoreLib/TcgStorageCore.c",
31 "Library/Tpm2CommandLib/Tpm2NVStorage.c",
32 "DeviceSecurity/SpdmLib/Include",
33 "DeviceSecurity/SpdmLib/libspdm",
34 "DeviceSecurity/OsStub"
35 ]
36 },
37 "CompilerPlugin": {
38 "DscPath": "SecurityPkg.dsc"
39 },
40 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
41 "HostUnitTestCompilerPlugin": {
42 "DscPath": "Test/SecurityPkgHostTest.dsc"
43 },
44 "CharEncodingCheck": {
45 "IgnoreFiles": []
46 },
47 "DependencyCheck": {
48 "AcceptableDependencies": [
49 "MdePkg/MdePkg.dec",
50 "MdeModulePkg/MdeModulePkg.dec",
51 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec",
52 "SecurityPkg/SecurityPkg.dec",
53 "StandaloneMmPkg/StandaloneMmPkg.dec",
54 "CryptoPkg/CryptoPkg.dec"
55 ],
56 # For host based unit tests
57 "AcceptableDependencies-HOST_APPLICATION":[],
58 # For UEFI shell based apps
59 "AcceptableDependencies-UEFI_APPLICATION":[],
60 "IgnoreInf": []
61 },
62 "DscCompleteCheck": {
63 "DscPath": "SecurityPkg.dsc",
64 "IgnoreInf": []
65 },
66 ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
67 "HostUnitTestDscCompleteCheck": {
68 "IgnoreInf": [""],
69 "DscPath": "Test/SecurityPkgHostTest.dsc"
70 },
71 "GuidCheck": {
72 "IgnoreGuidName": [],
73 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
74 "IgnoreFoldersAndFiles": [],
75 "IgnoreDuplicates": [
76 "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", # by design
77 ]
78 },
79 "LibraryClassCheck": {
80 "IgnoreHeaderFile": [
81 "DeviceSecurity/SpdmLib/Include/library",
82 "DeviceSecurity/SpdmLib/libspdm/include/library",
83 ],
84 "skip": True
85 },
86
87 ## options defined ci/Plugin/SpellCheck
88 "SpellCheck": {
89 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
90 "ExtendWords": [ # words to extend to the dictionary for this package
91 "shortformed", # tpm acpi
92 "autodetect",
93 "blocksid",
94 "comid",
95 "cpinsidpin", #OpalSScV2
96 "ecdsa", # TPM
97 "ecschnorr", # TPM
98 "eisaid", # ACPI
99 "harddisk",
100 "hashall",
101 "hashto",
102 "kek's",
103 "lfanew", # PE/COFF
104 "pcrindex",
105 "pkglength",
106 "ppuser",
107 "preos",
108 "stclear",
109 "toctou",
110 "tpm's",
111 "tpmcmdbuflength",
112 "tpmcommlib",
113 "tpmnvvaluelength",
114 "wrlocked",
115 "xored"
116 ],
117 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
118 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
119 },
120
121 "Defines": {
122 "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
123 },
124
125 "DebugMacroCheck": {
126 "StringSubstitutions": {
127 # SecurityPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c
128 # Reason: Acknowledging use of two format specifiers in string with one argument
129 # Replace ternary operator in debug string with single specifier
130 'Index == COLUME_SIZE/2 ? " | %02x" : " %02x"': "%d"
131 }
132 }
133}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette