Adds a PrEval entry to the package's ci.yaml file which is used to verify if the package uses a particular library instance when that library instance file (INF) is updated. When a library instance file (INF) is updated, PrEval will review each package's DSC as described in the ci.yaml file to determine if the package uses said library instance. If the package does use the library instance, it will be built and tested to ensure the package is not broken from the change. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Cc: Wei6 Xu <wei6.xu@intel.com> Signed-off-by: Joey Vagedes <joeyvagedes@gmail.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
72 lines
1.8 KiB
YAML
72 lines
1.8 KiB
YAML
## @file
|
|
# CI configuration for FmpDevicePkg
|
|
#
|
|
# Copyright (c) Microsoft Corporation
|
|
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
{
|
|
"PrEval": {
|
|
"DscPath": "FmpDevicePkg.dsc",
|
|
},
|
|
"LicenseCheck": {
|
|
"IgnoreFiles": []
|
|
},
|
|
"EccCheck": {
|
|
## Exception sample looks like below:
|
|
## "ExceptionList": [
|
|
## "<ErrorID>", "<KeyWord>"
|
|
## ]
|
|
"ExceptionList": [
|
|
],
|
|
## Both file path and directory path are accepted.
|
|
"IgnoreFiles": [
|
|
]
|
|
},
|
|
"CompilerPlugin": {
|
|
"DscPath": "FmpDevicePkg.dsc"
|
|
},
|
|
"HostUnitTestCompilerPlugin": {
|
|
"DscPath": "Test/FmpDeviceHostPkgTest.dsc"
|
|
},
|
|
"CharEncodingCheck": {
|
|
"IgnoreFiles": []
|
|
},
|
|
"DependencyCheck": {
|
|
"AcceptableDependencies": [
|
|
"MdePkg/MdePkg.dec",
|
|
"MdeModulePkg/MdeModulePkg.dec",
|
|
"FmpDevicePkg/FmpDevicePkg.dec",
|
|
"CryptoPkg/CryptoPkg.dec"
|
|
],
|
|
"AcceptableDependencies-HOST_APPLICATION":[
|
|
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
|
|
],
|
|
"IgnoreInf": []
|
|
},
|
|
"DscCompleteCheck": {
|
|
"DscPath": "FmpDevicePkg.dsc",
|
|
"IgnoreInf": []
|
|
},
|
|
"HostUnitTestDscCompleteCheck": {
|
|
"IgnoreInf": [],
|
|
"DscPath": "Test/FmpDeviceHostPkgTest.dsc"
|
|
},
|
|
"GuidCheck": {
|
|
"IgnoreGuidName": [],
|
|
"IgnoreGuidValue": [],
|
|
"IgnoreFoldersAndFiles": []
|
|
},
|
|
"LibraryClassCheck": {
|
|
"IgnoreHeaderFile": []
|
|
},
|
|
"SpellCheck": {
|
|
"ExtendWords": [
|
|
"FMPSTATE",
|
|
]
|
|
},
|
|
"Defines": {
|
|
"BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
|
|
}
|
|
}
|