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