]>
Commit | Line | Data |
---|---|---|
e4612477 MK |
1 | ## @file\r |
2 | # CI configuration for MdeModulePkg\r | |
3 | #\r | |
4 | # Copyright (c) Microsoft Corporation\r | |
32ed3624 | 5 | # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r |
e4612477 MK |
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
7 | ##\r | |
8 | {\r | |
1b647d65 SZ |
9 | ## options defined .pytool/Plugin/LicenseCheck\r |
10 | "LicenseCheck": {\r | |
11 | "IgnoreFiles": []\r | |
12 | },\r | |
32ed3624 SZ |
13 | "EccCheck": {\r |
14 | ## Exception sample looks like below:\r | |
15 | ## "ExceptionList": [\r | |
16 | ## "<ErrorID>", "<KeyWord>"\r | |
17 | ## ]\r | |
18 | "ExceptionList": [\r | |
b597b6e2 ZL |
19 | "8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.UID",\r |
20 | "8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.HID",\r | |
32ed3624 SZ |
21 | ],\r |
22 | ## Both file path and directory path are accepted.\r | |
23 | "IgnoreFiles": [\r | |
24 | "Library/BrotliCustomDecompressLib/brotli",\r | |
7e6776de LW |
25 | "Universal/RegularExpressionDxe/oniguruma",\r |
26 | "Library/LzmaCustomDecompressLib/Sdk/DOC",\r | |
27 | "Library/LzmaCustomDecompressLib/Sdk/C"\r | |
32ed3624 SZ |
28 | ]\r |
29 | },\r | |
e4612477 MK |
30 | ## options defined ci/Plugin/CompilerPlugin\r |
31 | "CompilerPlugin": {\r | |
32 | "DscPath": "MdeModulePkg.dsc"\r | |
33 | },\r | |
184ee9b1 MK |
34 | ## options defined ci/Plugin/HostUnitTestCompilerPlugin\r |
35 | "HostUnitTestCompilerPlugin": {\r | |
36 | "DscPath": "Test/MdeModulePkgHostTest.dsc"\r | |
37 | },\r | |
e4612477 MK |
38 | \r |
39 | ## options defined ci/Plugin/CharEncodingCheck\r | |
40 | "CharEncodingCheck": {\r | |
48b6c60c SZ |
41 | "IgnoreFiles": [\r |
42 | "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",\r | |
43 | "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"\r | |
44 | ]\r | |
e4612477 MK |
45 | },\r |
46 | \r | |
47 | ## options defined ci/Plugin/DependencyCheck\r | |
48 | "DependencyCheck": {\r | |
49 | "AcceptableDependencies": [\r | |
50 | "MdePkg/MdePkg.dec",\r | |
51 | "MdeModulePkg/MdeModulePkg.dec",\r | |
52 | "StandaloneMmPkg/StandaloneMmPkg.dec",\r | |
53 | "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction\r | |
54 | ],\r | |
55 | # For host based unit tests\r | |
184ee9b1 MK |
56 | "AcceptableDependencies-HOST_APPLICATION":[\r |
57 | "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"\r | |
58 | ],\r | |
e4612477 MK |
59 | # For UEFI shell based apps\r |
60 | "AcceptableDependencies-UEFI_APPLICATION":[],\r | |
61 | "IgnoreInf": []\r | |
62 | },\r | |
63 | \r | |
64 | ## options defined ci/Plugin/DscCompleteCheck\r | |
65 | "DscCompleteCheck": {\r | |
66 | "IgnoreInf": [],\r | |
67 | "DscPath": "MdeModulePkg.dsc"\r | |
68 | },\r | |
184ee9b1 MK |
69 | ## options defined ci/Plugin/HostUnitTestDscCompleteCheck\r |
70 | "HostUnitTestDscCompleteCheck": {\r | |
71 | "IgnoreInf": [""],\r | |
72 | "DscPath": "Test/MdeModulePkgHostTest.dsc"\r | |
73 | },\r | |
e4612477 MK |
74 | \r |
75 | ## options defined ci/Plugin/GuidCheck\r | |
76 | "GuidCheck": {\r | |
77 | "IgnoreGuidName": [],\r | |
78 | "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],\r | |
79 | "IgnoreFoldersAndFiles": [],\r | |
80 | "IgnoreDuplicates": [\r | |
e4612477 MK |
81 | "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",\r |
82 | "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",\r | |
83 | ]\r | |
84 | },\r | |
85 | \r | |
86 | ## options defined ci/Plugin/LibraryClassCheck\r | |
87 | "LibraryClassCheck": {\r | |
88 | "IgnoreHeaderFile": []\r | |
89 | },\r | |
90 | \r | |
91 | ## options defined ci/Plugin/SpellCheck\r | |
92 | "SpellCheck": {\r | |
93 | "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r | |
94 | "IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore\r | |
95 | "*.c", "*.asm", "*.h", "*.nasm", "*.s", "*.asl", "*.inf"\r | |
96 | ],\r | |
97 | "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files\r | |
98 | "Library/LzmaCustomDecompressLib/Sdk/DOC/*"\r | |
99 | ],\r | |
100 | "ExtendWords": [ # words to extend to the dictionary for this package\r | |
101 | "LIGHTGRAY",\r | |
102 | "DARKGRAY",\r | |
103 | "LIGHTBLUE",\r | |
104 | "LIGHTGREEN",\r | |
105 | "LIGHTCYAN",\r | |
106 | "LIGHTRED",\r | |
107 | "LIGHTMAGENTA",\r | |
108 | "FVMAIN",\r | |
109 | "VARCHECKPCD",\r | |
110 | "Getxx",\r | |
355b181f BB |
111 | "lzturbo",\r |
112 | "musthave",\r | |
113 | "canthave"\r | |
e4612477 MK |
114 | ],\r |
115 | "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)\r | |
116 | }\r | |
117 | }\r |