]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/SecurityPkg.ci.yaml
OvmfPkg/PlatformPei: set PcdConfidentialComputingAttr when SEV is active
[mirror_edk2.git] / SecurityPkg / SecurityPkg.ci.yaml
CommitLineData
566c45a5
MK
1## @file\r
2# CI configuration for SecurityPkg\r
3#\r
4# Copyright (c) Microsoft Corporation\r
f2a8fae3 5# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
566c45a5
MK
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7##\r
8{\r
9a10c305
SZ
9 "LicenseCheck": {\r
10 "IgnoreFiles": []\r
11 },\r
f2a8fae3
SZ
12 "EccCheck": {\r
13 ## Exception sample looks like below:\r
14 ## "ExceptionList": [\r
15 ## "<ErrorID>", "<KeyWord>"\r
16 ## ]\r
17 "ExceptionList": [\r
18 ],\r
19 ## Both file path and directory path are accepted.\r
20 "IgnoreFiles": [\r
60fa40be
MK
21 "Library/TcgStorageCoreLib/TcgStorageUtil.c",\r
22 "Library/TcgStorageCoreLib/TcgStorageCore.c",\r
23 "Library/Tpm2CommandLib/Tpm2NVStorage.c"\r
f2a8fae3
SZ
24 ]\r
25 },\r
566c45a5
MK
26 "CompilerPlugin": {\r
27 "DscPath": "SecurityPkg.dsc"\r
28 },\r
29 "CharEncodingCheck": {\r
30 "IgnoreFiles": []\r
31 },\r
32 "DependencyCheck": {\r
33 "AcceptableDependencies": [\r
34 "MdePkg/MdePkg.dec",\r
35 "MdeModulePkg/MdeModulePkg.dec",\r
36 "SecurityPkg/SecurityPkg.dec",\r
8802583c 37 "StandaloneMmPkg/StandaloneMmPkg.dec",\r
566c45a5
MK
38 "CryptoPkg/CryptoPkg.dec"\r
39 ],\r
40 # For host based unit tests\r
41 "AcceptableDependencies-HOST_APPLICATION":[],\r
42 # For UEFI shell based apps\r
43 "AcceptableDependencies-UEFI_APPLICATION":[],\r
44 "IgnoreInf": []\r
45 },\r
46 "DscCompleteCheck": {\r
47 "DscPath": "SecurityPkg.dsc",\r
48 "IgnoreInf": []\r
49 },\r
50 "GuidCheck": {\r
51 "IgnoreGuidName": [],\r
52 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],\r
53 "IgnoreFoldersAndFiles": [],\r
54 "IgnoreDuplicates": [\r
55 "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", # by design\r
56 ]\r
57 },\r
58 "LibraryClassCheck": {\r
59 "IgnoreHeaderFile": []\r
60 },\r
61\r
62 ## options defined ci/Plugin/SpellCheck\r
63 "SpellCheck": {\r
64 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r
65 "ExtendWords": [ # words to extend to the dictionary for this package\r
66 "shortformed", # tpm acpi\r
67 "autodetect",\r
68 "blocksid",\r
69 "comid",\r
70 "cpinsidpin", #OpalSScV2\r
71 "ecdsa", # TPM\r
72 "ecschnorr", # TPM\r
73 "eisaid", # ACPI\r
74 "harddisk",\r
75 "hashall",\r
76 "hashto",\r
77 "kek's",\r
78 "lfanew", # PE/COFF\r
79 "pcrindex",\r
80 "pkglength",\r
81 "ppuser",\r
82 "preos",\r
83 "stclear",\r
84 "toctou",\r
85 "tpm's",\r
86 "tpmcmdbuflength",\r
87 "tpmcommlib",\r
88 "tpmnvvaluelength",\r
89 "wrlocked",\r
90 "xored"\r
91 ],\r
92 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
93 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
94 },\r
95\r
96 "Defines": {\r
97 "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",\r
98 }\r
99}\r