]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/MdeModulePkg.ci.yaml
MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for LicenseCheck
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.ci.yaml
1 ## @file
2 # CI configuration for MdeModulePkg
3 #
4 # Copyright (c) Microsoft Corporation
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 ##
7 {
8 ## options defined .pytool/Plugin/LicenseCheck
9 "LicenseCheck": {
10 "IgnoreFiles": []
11 },
12 ## options defined ci/Plugin/CompilerPlugin
13 "CompilerPlugin": {
14 "DscPath": "MdeModulePkg.dsc"
15 },
16 ## options defined ci/Plugin/HostUnitTestCompilerPlugin
17 "HostUnitTestCompilerPlugin": {
18 "DscPath": "Test/MdeModulePkgHostTest.dsc"
19 },
20
21 ## options defined ci/Plugin/CharEncodingCheck
22 "CharEncodingCheck": {
23 "IgnoreFiles": [
24 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",
25 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"
26 ]
27 },
28
29 ## options defined ci/Plugin/DependencyCheck
30 "DependencyCheck": {
31 "AcceptableDependencies": [
32 "MdePkg/MdePkg.dec",
33 "MdeModulePkg/MdeModulePkg.dec",
34 "StandaloneMmPkg/StandaloneMmPkg.dec",
35 "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction
36 ],
37 # For host based unit tests
38 "AcceptableDependencies-HOST_APPLICATION":[
39 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
40 ],
41 # For UEFI shell based apps
42 "AcceptableDependencies-UEFI_APPLICATION":[],
43 "IgnoreInf": []
44 },
45
46 ## options defined ci/Plugin/DscCompleteCheck
47 "DscCompleteCheck": {
48 "IgnoreInf": [],
49 "DscPath": "MdeModulePkg.dsc"
50 },
51 ## options defined ci/Plugin/HostUnitTestDscCompleteCheck
52 "HostUnitTestDscCompleteCheck": {
53 "IgnoreInf": [""],
54 "DscPath": "Test/MdeModulePkgHostTest.dsc"
55 },
56
57 ## options defined ci/Plugin/GuidCheck
58 "GuidCheck": {
59 "IgnoreGuidName": [],
60 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
61 "IgnoreFoldersAndFiles": [],
62 "IgnoreDuplicates": [
63 "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",
64 "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",
65 ]
66 },
67
68 ## options defined ci/Plugin/LibraryClassCheck
69 "LibraryClassCheck": {
70 "IgnoreHeaderFile": []
71 },
72
73 ## options defined ci/Plugin/SpellCheck
74 "SpellCheck": {
75 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
76 "IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
77 "*.c", "*.asm", "*.h", "*.nasm", "*.s", "*.asl", "*.inf"
78 ],
79 "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
80 "Library/LzmaCustomDecompressLib/Sdk/DOC/*"
81 ],
82 "ExtendWords": [ # words to extend to the dictionary for this package
83 "LIGHTGRAY",
84 "DARKGRAY",
85 "LIGHTBLUE",
86 "LIGHTGREEN",
87 "LIGHTCYAN",
88 "LIGHTRED",
89 "LIGHTMAGENTA",
90 "FVMAIN",
91 "VARCHECKPCD",
92 "Getxx",
93 "lzturbo"
94 ],
95 "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
96 }
97 }