]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/MdePkg.ci.yaml: Add configuration for Ecc check
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 10 Jun 2020 06:14:05 +0000 (14:14 +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: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/MdePkg.ci.yaml

index b088a4344908162c1f23c78d4d62e9ca5f594606..15931eaccabff7334a8b839c438d4d9a907b4194 100644 (file)
@@ -2,6 +2,7 @@
 # CI configuration for MdePkg\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
@@ -9,6 +10,17 @@
     "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
     ## options defined ci/Plugin/CompilerPlugin\r
     "CompilerPlugin": {\r
         "DscPath": "MdePkg.dsc"\r