2019-10-28 21:20:04 +01:00
|
|
|
## @file
|
|
|
|
# CI configuration for MdeModulePkg
|
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation
|
2020-05-26 09:27:31 +02:00
|
|
|
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
|
2021-07-05 04:41:08 +02:00
|
|
|
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
|
2019-10-28 21:20:04 +01:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
##
|
|
|
|
{
|
2020-07-17 09:13:34 +02:00
|
|
|
## options defined .pytool/Plugin/LicenseCheck
|
|
|
|
"LicenseCheck": {
|
|
|
|
"IgnoreFiles": []
|
|
|
|
},
|
2020-05-26 09:27:31 +02:00
|
|
|
"EccCheck": {
|
|
|
|
## Exception sample looks like below:
|
|
|
|
## "ExceptionList": [
|
|
|
|
## "<ErrorID>", "<KeyWord>"
|
|
|
|
## ]
|
|
|
|
"ExceptionList": [
|
2021-04-30 07:07:32 +02:00
|
|
|
"8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.UID",
|
|
|
|
"8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.HID",
|
2021-08-11 08:35:39 +02:00
|
|
|
"8001", "UefiSortLibUnitTestMain",
|
2020-05-26 09:27:31 +02:00
|
|
|
],
|
|
|
|
## Both file path and directory path are accepted.
|
|
|
|
"IgnoreFiles": [
|
2021-11-23 21:59:50 +01:00
|
|
|
"Library/LzmaCustomDecompressLib",
|
|
|
|
"Library/BrotliCustomDecompressLib",
|
|
|
|
"Universal/RegularExpressionDxe"
|
2020-05-26 09:27:31 +02:00
|
|
|
]
|
|
|
|
},
|
2019-10-28 21:20:04 +01:00
|
|
|
## options defined ci/Plugin/CompilerPlugin
|
|
|
|
"CompilerPlugin": {
|
|
|
|
"DscPath": "MdeModulePkg.dsc"
|
|
|
|
},
|
2020-01-22 19:16:14 +01:00
|
|
|
## options defined ci/Plugin/HostUnitTestCompilerPlugin
|
|
|
|
"HostUnitTestCompilerPlugin": {
|
|
|
|
"DscPath": "Test/MdeModulePkgHostTest.dsc"
|
|
|
|
},
|
2019-10-28 21:20:04 +01:00
|
|
|
|
|
|
|
## options defined ci/Plugin/CharEncodingCheck
|
|
|
|
"CharEncodingCheck": {
|
2019-12-27 07:28:20 +01:00
|
|
|
"IgnoreFiles": [
|
|
|
|
"MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",
|
|
|
|
"MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"
|
|
|
|
]
|
2019-10-28 21:20:04 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
## options defined ci/Plugin/DependencyCheck
|
|
|
|
"DependencyCheck": {
|
|
|
|
"AcceptableDependencies": [
|
|
|
|
"MdePkg/MdePkg.dec",
|
|
|
|
"MdeModulePkg/MdeModulePkg.dec",
|
|
|
|
"StandaloneMmPkg/StandaloneMmPkg.dec",
|
|
|
|
"ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction
|
|
|
|
],
|
|
|
|
# For host based unit tests
|
2020-01-22 19:16:14 +01:00
|
|
|
"AcceptableDependencies-HOST_APPLICATION":[
|
|
|
|
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
|
|
|
|
],
|
2019-10-28 21:20:04 +01:00
|
|
|
# For UEFI shell based apps
|
|
|
|
"AcceptableDependencies-UEFI_APPLICATION":[],
|
|
|
|
"IgnoreInf": []
|
|
|
|
},
|
|
|
|
|
|
|
|
## options defined ci/Plugin/DscCompleteCheck
|
|
|
|
"DscCompleteCheck": {
|
|
|
|
"IgnoreInf": [],
|
|
|
|
"DscPath": "MdeModulePkg.dsc"
|
|
|
|
},
|
2020-01-22 19:16:14 +01:00
|
|
|
## options defined ci/Plugin/HostUnitTestDscCompleteCheck
|
|
|
|
"HostUnitTestDscCompleteCheck": {
|
|
|
|
"IgnoreInf": [""],
|
|
|
|
"DscPath": "Test/MdeModulePkgHostTest.dsc"
|
|
|
|
},
|
2019-10-28 21:20:04 +01:00
|
|
|
|
|
|
|
## options defined ci/Plugin/GuidCheck
|
|
|
|
"GuidCheck": {
|
|
|
|
"IgnoreGuidName": [],
|
|
|
|
"IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
|
|
|
|
"IgnoreFoldersAndFiles": [],
|
|
|
|
"IgnoreDuplicates": [
|
|
|
|
"gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",
|
|
|
|
"gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",
|
2021-09-16 02:14:20 +02:00
|
|
|
"gEfiPeiMmCommunicationPpiGuid=gEfiPeiSmmCommunicationPpiGuid",
|
2019-10-28 21:20:04 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
## options defined ci/Plugin/LibraryClassCheck
|
|
|
|
"LibraryClassCheck": {
|
|
|
|
"IgnoreHeaderFile": []
|
|
|
|
},
|
|
|
|
|
|
|
|
## options defined ci/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",
|
2020-11-09 07:45:11 +01:00
|
|
|
"lzturbo",
|
|
|
|
"musthave",
|
|
|
|
"canthave"
|
2019-10-28 21:20:04 +01:00
|
|
|
],
|
|
|
|
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
|
|
|
|
}
|
|
|
|
}
|