mu_basecore/MdeModulePkg/MdeModulePkg.ci.yaml

138 строки
5.1 KiB
YAML

## @file
# CI configuration for MdeModulePkg
#
# Copyright (c) Microsoft Corporation
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined .pytool/Plugin/LicenseCheck
"LicenseCheck": {
"IgnoreFiles": [
"Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/BlackBoxTest", # MU_CHANGE
"Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/SctInclude", # MU_CHANGE
]
},
"EccCheck": {
## Exception sample looks like below:
## "ExceptionList": [
## "<ErrorID>", "<KeyWord>"
## ]
"ExceptionList": [
"8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.UID",
"8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.HID",
"8001", "UefiSortLibUnitTestMain",
],
## Both file path and directory path are accepted.
"IgnoreFiles": [
"Library/LzmaCustomDecompressLib",
"Library/BrotliCustomDecompressLib",
"Universal/RegularExpressionDxe",
"Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/BlackBoxTest", # MU_CHANGE
"Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/SctInclude", # MU_CHANGE
]
},
## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "MdeModulePkg.dsc"
},
## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
"HostUnitTestCompilerPlugin": {
"DscPath": "Test/MdeModulePkgHostTest.dsc"
},
## options defined .pytool/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": [
"MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",
"MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"
]
},
## options defined .pytool/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec",
"StandaloneMmPkg/StandaloneMmPkg.dec",
# MU_CHANGE
# "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction
],
# For host based unit tests
"AcceptableDependencies-HOST_APPLICATION":[
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
],
# For UEFI shell based apps
"AcceptableDependencies-UEFI_APPLICATION":[
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" # MU_CHANGE
],
"IgnoreInf": []
},
## options defined .pytool/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "MdeModulePkg.dsc"
},
## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": [""],
"DscPath": "Test/MdeModulePkgHostTest.dsc"
},
## options defined .pytool/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": [
"gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",
"gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",
"gEfiPeiMmCommunicationPpiGuid=gEfiPeiSmmCommunicationPpiGuid",
]
},
## options defined .pytool/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [
"HwResetSystemLib" # MU_CHANGE - "Virtual" LibraryClass
],
"IgnoreHeaderFile": []
},
## options defined .pytool/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
"*.c", "*.asm", "*.h", "*.nasm", "*.s", "*.asl", "*.inf"
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
"Library/LzmaCustomDecompressLib/Sdk/DOC/*"
],
"ExtendWords": [ # words to extend to the dictionary for this package
"LIGHTGRAY",
"DARKGRAY",
"LIGHTBLUE",
"LIGHTGREEN",
"LIGHTCYAN",
"LIGHTRED",
"LIGHTMAGENTA",
"FVMAIN",
"VARCHECKPCD",
"Getxx",
"lzturbo",
"musthave",
"canthave"
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
},
## options defined .pytool/Plugin/MarkdownLintCheck
"MarkdownLintCheck": {
"IgnoreFiles": [ "Universal/RegularExpressionDxe/oniguruma", # submodule outside of control
"Library/BrotliCustomDecompressLib/brotli" # submodule outside of control
] # package root relative file, folder, or glob pattern to ignore
}
}