]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/MdeModulePkg.ci.yaml
MdePkg: CI YAML: Added new GUID to ignore duplicate list
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.ci.yaml
CommitLineData
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
ac826886 22 "8001", "UefiSortLibUnitTestMain",\r
32ed3624
SZ
23 ],\r
24 ## Both file path and directory path are accepted.\r
25 "IgnoreFiles": [\r
26 "Library/BrotliCustomDecompressLib/brotli",\r
7e6776de
LW
27 "Universal/RegularExpressionDxe/oniguruma",\r
28 "Library/LzmaCustomDecompressLib/Sdk/DOC",\r
4c051c2c
NW
29 "Library/LzmaCustomDecompressLib/Sdk/C",\r
30 "Universal/RegularExpressionDxe/OnigurumaUefiPort.h",\r
31 "Universal/RegularExpressionDxe/OnigurumaUefiPort.c"\r
32ed3624
SZ
32 ]\r
33 },\r
e4612477
MK
34 ## options defined ci/Plugin/CompilerPlugin\r
35 "CompilerPlugin": {\r
36 "DscPath": "MdeModulePkg.dsc"\r
37 },\r
184ee9b1
MK
38 ## options defined ci/Plugin/HostUnitTestCompilerPlugin\r
39 "HostUnitTestCompilerPlugin": {\r
40 "DscPath": "Test/MdeModulePkgHostTest.dsc"\r
41 },\r
e4612477
MK
42\r
43 ## options defined ci/Plugin/CharEncodingCheck\r
44 "CharEncodingCheck": {\r
48b6c60c
SZ
45 "IgnoreFiles": [\r
46 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",\r
47 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"\r
48 ]\r
e4612477
MK
49 },\r
50\r
51 ## options defined ci/Plugin/DependencyCheck\r
52 "DependencyCheck": {\r
53 "AcceptableDependencies": [\r
54 "MdePkg/MdePkg.dec",\r
55 "MdeModulePkg/MdeModulePkg.dec",\r
56 "StandaloneMmPkg/StandaloneMmPkg.dec",\r
57 "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction\r
58 ],\r
59 # For host based unit tests\r
184ee9b1
MK
60 "AcceptableDependencies-HOST_APPLICATION":[\r
61 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"\r
62 ],\r
e4612477
MK
63 # For UEFI shell based apps\r
64 "AcceptableDependencies-UEFI_APPLICATION":[],\r
65 "IgnoreInf": []\r
66 },\r
67\r
68 ## options defined ci/Plugin/DscCompleteCheck\r
69 "DscCompleteCheck": {\r
70 "IgnoreInf": [],\r
71 "DscPath": "MdeModulePkg.dsc"\r
72 },\r
184ee9b1
MK
73 ## options defined ci/Plugin/HostUnitTestDscCompleteCheck\r
74 "HostUnitTestDscCompleteCheck": {\r
75 "IgnoreInf": [""],\r
76 "DscPath": "Test/MdeModulePkgHostTest.dsc"\r
77 },\r
e4612477
MK
78\r
79 ## options defined ci/Plugin/GuidCheck\r
80 "GuidCheck": {\r
81 "IgnoreGuidName": [],\r
82 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],\r
83 "IgnoreFoldersAndFiles": [],\r
84 "IgnoreDuplicates": [\r
e4612477
MK
85 "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",\r
86 "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",\r
87 ]\r
88 },\r
89\r
90 ## options defined ci/Plugin/LibraryClassCheck\r
91 "LibraryClassCheck": {\r
92 "IgnoreHeaderFile": []\r
93 },\r
94\r
95 ## options defined ci/Plugin/SpellCheck\r
96 "SpellCheck": {\r
97 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r
98 "IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore\r
99 "*.c", "*.asm", "*.h", "*.nasm", "*.s", "*.asl", "*.inf"\r
100 ],\r
101 "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files\r
102 "Library/LzmaCustomDecompressLib/Sdk/DOC/*"\r
103 ],\r
104 "ExtendWords": [ # words to extend to the dictionary for this package\r
105 "LIGHTGRAY",\r
106 "DARKGRAY",\r
107 "LIGHTBLUE",\r
108 "LIGHTGREEN",\r
109 "LIGHTCYAN",\r
110 "LIGHTRED",\r
111 "LIGHTMAGENTA",\r
112 "FVMAIN",\r
113 "VARCHECKPCD",\r
114 "Getxx",\r
355b181f
BB
115 "lzturbo",\r
116 "musthave",\r
117 "canthave"\r
e4612477
MK
118 ],\r
119 "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)\r
120 }\r
121}\r