]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/SecurityPkg.ci.yaml
SecurityPkg/SecurityPkg.ci.yaml: Add configuration for LicenseCheck
[mirror_edk2.git] / SecurityPkg / SecurityPkg.ci.yaml
1 ## @file
2 # CI configuration for SecurityPkg
3 #
4 # Copyright (c) Microsoft Corporation
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 ##
7 {
8 "LicenseCheck": {
9 "IgnoreFiles": []
10 },
11 "CompilerPlugin": {
12 "DscPath": "SecurityPkg.dsc"
13 },
14 "CharEncodingCheck": {
15 "IgnoreFiles": []
16 },
17 "DependencyCheck": {
18 "AcceptableDependencies": [
19 "MdePkg/MdePkg.dec",
20 "MdeModulePkg/MdeModulePkg.dec",
21 "SecurityPkg/SecurityPkg.dec",
22 "CryptoPkg/CryptoPkg.dec"
23 ],
24 # For host based unit tests
25 "AcceptableDependencies-HOST_APPLICATION":[],
26 # For UEFI shell based apps
27 "AcceptableDependencies-UEFI_APPLICATION":[],
28 "IgnoreInf": []
29 },
30 "DscCompleteCheck": {
31 "DscPath": "SecurityPkg.dsc",
32 "IgnoreInf": []
33 },
34 "GuidCheck": {
35 "IgnoreGuidName": [],
36 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
37 "IgnoreFoldersAndFiles": [],
38 "IgnoreDuplicates": [
39 "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", # by design
40 ]
41 },
42 "LibraryClassCheck": {
43 "IgnoreHeaderFile": []
44 },
45
46 ## options defined ci/Plugin/SpellCheck
47 "SpellCheck": {
48 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
49 "ExtendWords": [ # words to extend to the dictionary for this package
50 "shortformed", # tpm acpi
51 "autodetect",
52 "blocksid",
53 "comid",
54 "cpinsidpin", #OpalSScV2
55 "ecdsa", # TPM
56 "ecschnorr", # TPM
57 "eisaid", # ACPI
58 "harddisk",
59 "hashall",
60 "hashto",
61 "kek's",
62 "lfanew", # PE/COFF
63 "pcrindex",
64 "pkglength",
65 "ppuser",
66 "preos",
67 "stclear",
68 "toctou",
69 "tpm's",
70 "tpmcmdbuflength",
71 "tpmcommlib",
72 "tpmnvvaluelength",
73 "wrlocked",
74 "xored"
75 ],
76 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
77 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
78 },
79
80 "Defines": {
81 "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
82 }
83 }