REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3749 Update package YAML files to ignore ECC errors that are already present. These issues must be fixed in the future, but should not block source code changes for these known issues. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
91 lines
3.1 KiB
YAML
91 lines
3.1 KiB
YAML
## @file
|
|
# CI configuration for CryptoPkg
|
|
#
|
|
# Copyright (c) Microsoft Corporation
|
|
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
{
|
|
"LicenseCheck": {
|
|
"IgnoreFiles": [
|
|
# These directories contain auto-generated OpenSSL content
|
|
"Library/OpensslLib/X64",
|
|
"Library/OpensslLib/X64Gcc"
|
|
]
|
|
},
|
|
"EccCheck": {
|
|
## Exception sample looks like below:
|
|
## "ExceptionList": [
|
|
## "<ErrorID>", "<KeyWord>"
|
|
## ]
|
|
"ExceptionList": [
|
|
"8001", "IsLeap",
|
|
"8001", "OBJ_get0_data",
|
|
"8001", "OBJ_length"
|
|
],
|
|
## Both file path and directory path are accepted.
|
|
"IgnoreFiles": [
|
|
"Library/OpensslLib/openssl",
|
|
# The unit testing folder is not to be checked
|
|
"Test/UnitTest",
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
|
"Library/BaseCryptLib/SysCall",
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
|
"Library/OpensslLib/rand_pool.c",
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
|
"Library/Include/CrtLibSupport.h",
|
|
# These directories contain auto-generated OpenSSL content
|
|
"Library/OpensslLib",
|
|
"Library/IntrinsicLib",
|
|
"Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"
|
|
]
|
|
},
|
|
"CompilerPlugin": {
|
|
"DscPath": "CryptoPkg.dsc"
|
|
},
|
|
## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
|
|
"HostUnitTestCompilerPlugin": {
|
|
"DscPath": "Test/CryptoPkgHostUnitTest.dsc"
|
|
},
|
|
"CharEncodingCheck": {
|
|
"IgnoreFiles": []
|
|
},
|
|
"DependencyCheck": {
|
|
"AcceptableDependencies": [
|
|
"MdePkg/MdePkg.dec",
|
|
"MdeModulePkg/MdeModulePkg.dec",
|
|
"CryptoPkg/CryptoPkg.dec",
|
|
],
|
|
# For host based unit tests
|
|
"AcceptableDependencies-HOST_APPLICATION":[],
|
|
# For UEFI shell based apps
|
|
"AcceptableDependencies-UEFI_APPLICATION":[],
|
|
"IgnoreInf": []
|
|
},
|
|
"DscCompleteCheck": {
|
|
"DscPath": "CryptoPkg.dsc",
|
|
"IgnoreInf": [
|
|
# These are alternatives to OpensslLib.inf
|
|
"CryptoPkg/Library/OpensslLib/OpensslLibX64.inf",
|
|
"CryptoPkg/Library/OpensslLib/OpensslLibX64Gcc.inf"
|
|
]
|
|
},
|
|
"GuidCheck": {
|
|
"IgnoreGuidName": [],
|
|
"IgnoreGuidValue": [],
|
|
"IgnoreFoldersAndFiles": []
|
|
},
|
|
"LibraryClassCheck": {
|
|
"IgnoreHeaderFile": []
|
|
},
|
|
|
|
## options defined ci/Plugin/SpellCheck
|
|
"SpellCheck": {
|
|
"skip": True,
|
|
"IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
|
|
"ExtendWords": [], # words to extend to the dictionary for this package
|
|
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
|
|
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
|
|
}
|
|
}
|