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