summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2020-06-10 13:52:22 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-17 03:28:09 +0000
commit5a677bbc455f9eefe4bdadd60b8f55ea1278da83 (patch)
treedd8bd1d4e9a6d3f8e803305ebaa7f3971fe95d32
parent1fde2b9d5b53f459f652d1fa7acc1fc91930bd51 (diff)
downloadedk2-5a677bbc455f9eefe4bdadd60b8f55ea1278da83.tar.gz
edk2-5a677bbc455f9eefe4bdadd60b8f55ea1278da83.tar.bz2
edk2-5a677bbc455f9eefe4bdadd60b8f55ea1278da83.zip
CryptoPkg/CryptoPkg.ci.yaml: Add configuration for Ecc check
Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Besides, add submodule path in IgnoreFiles section. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Guomin Jiang <guomin.jiang@intel.com>
-rw-r--r--CryptoPkg/CryptoPkg.ci.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml
index e73b79e01f..e2d190a90c 100644
--- a/CryptoPkg/CryptoPkg.ci.yaml
+++ b/CryptoPkg/CryptoPkg.ci.yaml
@@ -2,12 +2,25 @@
# 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": []
},
+ "EccCheck": {
+ ## Exception sample looks like below:
+ ## "ExceptionList": [
+ ## "<ErrorID>", "<KeyWord>"
+ ## ]
+ "ExceptionList": [
+ ],
+ ## Both file path and directory path are accepted.
+ "IgnoreFiles": [
+ "Library/OpensslLib/openssl"
+ ]
+ },
"CompilerPlugin": {
"DscPath": "CryptoPkg.dsc"
},