]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/SecurityPkg.ci.yaml
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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
dbc4e367 18 "8005", "gRT",\r
f2a8fae3
SZ
19 ],\r
20 ## Both file path and directory path are accepted.\r
21 "IgnoreFiles": [\r
60fa40be
MK
22 "Library/TcgStorageCoreLib/TcgStorageUtil.c",\r
23 "Library/TcgStorageCoreLib/TcgStorageCore.c",\r
24 "Library/Tpm2CommandLib/Tpm2NVStorage.c"\r
f2a8fae3
SZ
25 ]\r
26 },\r
566c45a5
MK
27 "CompilerPlugin": {\r
28 "DscPath": "SecurityPkg.dsc"\r
29 },\r
dbc4e367 30 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin\r
31 "HostUnitTestCompilerPlugin": {\r
32 "DscPath": "Test/SecurityPkgHostTest.dsc"\r
33 },\r
566c45a5
MK
34 "CharEncodingCheck": {\r
35 "IgnoreFiles": []\r
36 },\r
37 "DependencyCheck": {\r
38 "AcceptableDependencies": [\r
39 "MdePkg/MdePkg.dec",\r
40 "MdeModulePkg/MdeModulePkg.dec",\r
dbc4e367 41 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec",\r
566c45a5 42 "SecurityPkg/SecurityPkg.dec",\r
8802583c 43 "StandaloneMmPkg/StandaloneMmPkg.dec",\r
566c45a5
MK
44 "CryptoPkg/CryptoPkg.dec"\r
45 ],\r
46 # For host based unit tests\r
47 "AcceptableDependencies-HOST_APPLICATION":[],\r
48 # For UEFI shell based apps\r
49 "AcceptableDependencies-UEFI_APPLICATION":[],\r
50 "IgnoreInf": []\r
51 },\r
52 "DscCompleteCheck": {\r
53 "DscPath": "SecurityPkg.dsc",\r
54 "IgnoreInf": []\r
55 },\r
dbc4e367 56 ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck\r
57 "HostUnitTestDscCompleteCheck": {\r
58 "IgnoreInf": [""],\r
59 "DscPath": "Test/SecurityPkgHostTest.dsc"\r
60 },\r
566c45a5
MK
61 "GuidCheck": {\r
62 "IgnoreGuidName": [],\r
63 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],\r
64 "IgnoreFoldersAndFiles": [],\r
65 "IgnoreDuplicates": [\r
66 "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", # by design\r
67 ]\r
68 },\r
69 "LibraryClassCheck": {\r
70 "IgnoreHeaderFile": []\r
71 },\r
72\r
73 ## options defined ci/Plugin/SpellCheck\r
74 "SpellCheck": {\r
75 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r
76 "ExtendWords": [ # words to extend to the dictionary for this package\r
77 "shortformed", # tpm acpi\r
78 "autodetect",\r
79 "blocksid",\r
80 "comid",\r
81 "cpinsidpin", #OpalSScV2\r
82 "ecdsa", # TPM\r
83 "ecschnorr", # TPM\r
84 "eisaid", # ACPI\r
85 "harddisk",\r
86 "hashall",\r
87 "hashto",\r
88 "kek's",\r
89 "lfanew", # PE/COFF\r
90 "pcrindex",\r
91 "pkglength",\r
92 "ppuser",\r
93 "preos",\r
94 "stclear",\r
95 "toctou",\r
96 "tpm's",\r
97 "tpmcmdbuflength",\r
98 "tpmcommlib",\r
99 "tpmnvvaluelength",\r
100 "wrlocked",\r
101 "xored"\r
102 ],\r
103 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
104 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
105 },\r
106\r
107 "Defines": {\r
108 "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",\r
109 }\r
110}\r