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