]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check
authorShenglei Zhang <shenglei.zhang@intel.com>
Tue, 26 May 2020 07:27:31 +0000 (15:27 +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.
Besides, add submodule path in IgnoreFiles section.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/MdeModulePkg.ci.yaml

index 0fc8c3633878a57bdd74b82984e96d5cf58bb1ce..1a7e955185d8610b2be7bef90af731aaf66957cf 100644 (file)
@@ -2,6 +2,7 @@
 # CI configuration for MdeModulePkg\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,19 @@
     "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
+            "Library/BrotliCustomDecompressLib/brotli",\r
+            "Universal/RegularExpressionDxe/oniguruma"\r
+        ]\r
+    },\r
     ## options defined ci/Plugin/CompilerPlugin\r
     "CompilerPlugin": {\r
         "DscPath": "MdeModulePkg.dsc"\r