2 # CI configuration for MdeModulePkg
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
10 ## options defined .pytool/Plugin/LicenseCheck
15 ## Exception sample looks like below:
17 ## "<ErrorID>", "<KeyWord>"
20 "8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.UID",
21 "8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.HID",
22 "8001", "UefiSortLibUnitTestMain",
24 ## Both file path and directory path are accepted.
26 "Library/BrotliCustomDecompressLib/brotli",
27 "Universal/RegularExpressionDxe/oniguruma",
28 "Library/LzmaCustomDecompressLib/Sdk/DOC",
29 "Library/LzmaCustomDecompressLib/Sdk/C",
30 "Universal/RegularExpressionDxe/OnigurumaUefiPort.h",
31 "Universal/RegularExpressionDxe/OnigurumaUefiPort.c"
34 ## options defined ci/Plugin/CompilerPlugin
36 "DscPath": "MdeModulePkg.dsc"
38 ## options defined ci/Plugin/HostUnitTestCompilerPlugin
39 "HostUnitTestCompilerPlugin": {
40 "DscPath": "Test/MdeModulePkgHostTest.dsc"
43 ## options defined ci/Plugin/CharEncodingCheck
44 "CharEncodingCheck": {
46 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",
47 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"
51 ## options defined ci/Plugin/DependencyCheck
53 "AcceptableDependencies": [
55 "MdeModulePkg/MdeModulePkg.dec",
56 "StandaloneMmPkg/StandaloneMmPkg.dec",
57 "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction
59 # For host based unit tests
60 "AcceptableDependencies-HOST_APPLICATION":[
61 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
63 # For UEFI shell based apps
64 "AcceptableDependencies-UEFI_APPLICATION":[],
68 ## options defined ci/Plugin/DscCompleteCheck
71 "DscPath": "MdeModulePkg.dsc"
73 ## options defined ci/Plugin/HostUnitTestDscCompleteCheck
74 "HostUnitTestDscCompleteCheck": {
76 "DscPath": "Test/MdeModulePkgHostTest.dsc"
79 ## options defined ci/Plugin/GuidCheck
82 "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
83 "IgnoreFoldersAndFiles": [],
85 "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",
86 "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",
90 ## options defined ci/Plugin/LibraryClassCheck
91 "LibraryClassCheck": {
92 "IgnoreHeaderFile": []
95 ## options defined ci/Plugin/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"
101 "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
102 "Library/LzmaCustomDecompressLib/Sdk/DOC/*"
104 "ExtendWords": [ # words to extend to the dictionary for this package
119 "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)