]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/SecurityPkg.ci.yaml: Add configuration for Ecc check
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 10 Jun 2020 06:17:20 +0000 (14:17 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 17 Aug 2020 03:28:09 +0000 (03:28 +0000)
Add configuration ExceptionList and IgnoreFiles for package config
files. So users can rely on this to ignore some Ecc issues.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
SecurityPkg/SecurityPkg.ci.yaml

index 1ef1d2e67ead8518b92d3303fc0a532108959ade..03be2e94ca9747a8bdce6833798e379dbdae4ea7 100644 (file)
@@ -2,12 +2,24 @@
 # CI configuration for SecurityPkg\r
 #\r
 # Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
     "LicenseCheck": {\r
         "IgnoreFiles": []\r
     },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+        ]\r
+    },\r
     "CompilerPlugin": {\r
         "DscPath": "SecurityPkg.dsc"\r
     },\r