]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/MdePkg.ci.yaml
SecurityPkg: SecureBootConfigDxe: Updated invocation pattern
[mirror_edk2.git] / MdePkg / MdePkg.ci.yaml
index 65c4ec3becc0ae8636925df41ad01da696d9f786..054233ebc7bd9e745a2fb3e0697a1cd6b1f1d86c 100644 (file)
@@ -2,16 +2,71 @@
 # CI configuration for MdePkg\r
 #\r
 # Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2021, Arm Limited. All rights reserved.<BR>\r
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
+    ## options defined .pytool/Plugin/LicenseCheck\r
+    "LicenseCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+            "9005", "@VDD",\r
+            "8005", "gST",\r
+            "8005", "gBS",\r
+            "8005", "gDS",\r
+            "8005", "gDS",\r
+            "8002", "va_list",\r
+            "8005", "EFI_BLUETOOTH_LE_SCAN_CALLBACK_INFORMATION.RSSI",\r
+            "8005", "void",\r
+            "8005", "va_list.__ap",\r
+            "8005", "__stack_chk_guard",\r
+            "8001", "MSG_IPv6_DP",\r
+            "8001", "MSG_IPv4_DP",\r
+            "8001", "DEFAULT_ToS",\r
+            "8001", "EFI_SERIAL_IO_PROTOCOL_REVISION1p1",\r
+            "8001", "EFI_ABS_AltActive",\r
+            "8001", "EFI_ABSP_SupportsAltActive",\r
+            "8001", "_ReadWriteBarrier",\r
+            "8001", "__va_copy",\r
+            "8003", "__va_copy",\r
+            "7007", "_EFI_LEGACY_SPI_CONTROLLER_PROTOCOL",\r
+            "7007", "_EFI_LEGACY_SPI_FLASH_PROTOCOL",\r
+            "7007", "_EFI_SPI_NOR_FLASH_PROTOCOL",\r
+            "7007", "_EFI_SPI_HC_PROTOCOL",\r
+            "8002", "aligned (",\r
+            "4002", "_ReturnAddress"\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+            "Include/IndustryStandard/Acpi64.h",\r
+            "Include/IndustryStandard/Tpm12.h",\r
+            "Include/IndustryStandard/Tpm20.h",\r
+            "Include/IndustryStandard/IoRemappingTable.h",\r
+            "Include/IndustryStandard/UefiTcgPlatform.h",\r
+            "Include/Library/PcdLib.h",\r
+            "Include/Library/SafeIntLib.h",\r
+            "Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.c"\r
+        ]\r
+    },\r
     ## options defined ci/Plugin/CompilerPlugin\r
     "CompilerPlugin": {\r
         "DscPath": "MdePkg.dsc"\r
     },\r
 \r
+    ## options defined ci/Plugin/HostUnitTestCompilerPlugin\r
+    "HostUnitTestCompilerPlugin": {\r
+        "DscPath": "Test/MdePkgHostTest.dsc"\r
+    },\r
+\r
     ## options defined ci/Plugin/CharEncodingCheck\r
-"CharEncodingCheck": {\r
+    "CharEncodingCheck": {\r
         "IgnoreFiles": []\r
     },\r
 \r
@@ -21,7 +76,9 @@
             "MdePkg/MdePkg.dec"\r
         ],\r
         # For host based unit tests\r
-        "AcceptableDependencies-HOST_APPLICATION":[],\r
+        "AcceptableDependencies-HOST_APPLICATION":[\r
+            "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"\r
+        ],\r
         # For UEFI shell based apps\r
         "AcceptableDependencies-UEFI_APPLICATION":[],\r
         "IgnoreInf": []\r
 \r
     ## options defined ci/Plugin/DscCompleteCheck\r
     "DscCompleteCheck": {\r
-        "IgnoreInf": [],\r
+        "IgnoreInf": [""],\r
         "DscPath": "MdePkg.dsc"\r
     },\r
 \r
+    ## options defined ci/Plugin/HostUnitTestDscCompleteCheck\r
+    "HostUnitTestDscCompleteCheck": {\r
+        "IgnoreInf": [""],\r
+        "DscPath": "Test/MdePkgHostTest.dsc"\r
+    },\r
+\r
     ## options defined ci/Plugin/GuidCheck\r
     "GuidCheck": {\r
         "IgnoreGuidName": [\r
             "gEfiDebugPortProtocolGuid=gEfiDebugPortVariableGuid=gEfiDebugPortDevicePathGuid", ## is this a bug\r
             "gEfiProcessorSpecificErrorSectionGuid=gEfiIa32X64ProcessorErrorSectionGuid",  ## is this a bug\r
             "gEfiSmmPeriodicTimerDispatch2ProtocolGuid=gEfiMmPeriodicTimerDispatchProtocolGuid",\r
-            "gEdkiiFormBrowserExProtocolGuid=gEfiFormBrowserExProtocolGuid",\r
             "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",\r
-            "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid"\r
+            "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",\r
+            "gEfiPeiMmCommunicationPpiGuid=gEfiPeiSmmCommunicationPpiGuid",\r
             ]\r
     },\r
 \r