]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/UefiCpuPkg.ci.yaml
OvmfPkg/SmmCpuFeaturesLib: drop obsolete API implementation
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.ci.yaml
index d54651d43800e71097993ede500e62389bae8cfa..a377366798b0566b049fc1fded4dfaa6e26246c3 100644 (file)
@@ -2,15 +2,40 @@
 # CI configuration for UefiCpuPkg\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
+          "8006", "main",\r
+          "8005", "GENERAL_REGISTER.R8",\r
+          "8005", "GENERAL_REGISTER.R9",\r
+          "8005", "GENERAL_REGISTER.R10",\r
+          "8005", "GENERAL_REGISTER.R11",\r
+          "8005", "GENERAL_REGISTER.R12",\r
+          "8005", "GENERAL_REGISTER.R13",\r
+          "8005", "GENERAL_REGISTER.R14",\r
+          "8005", "GENERAL_REGISTER.R15"\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+        ]\r
+    },\r
     "CompilerPlugin": {\r
         "DscPath": "UefiCpuPkg.dsc"\r
     },\r
+    ## options defined ci/Plugin/HostUnitTestCompilerPlugin\r
+    "HostUnitTestCompilerPlugin": {\r
+        "DscPath": "Test/UefiCpuPkgHostTest.dsc"\r
+    },\r
     "CharEncodingCheck": {\r
         "IgnoreFiles": []\r
     },\r
             "UefiCpuPkg/UefiCpuPkg.dec"\r
         ],\r
         # For host based unit tests\r
-        "AcceptableDependencies-HOST_APPLICATION":[],\r
+        "AcceptableDependencies-HOST_APPLICATION":[\r
+            "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec",\r
+            "CryptoPkg/CryptoPkg.dec"\r
+        ],\r
         # For UEFI shell based apps\r
         "AcceptableDependencies-UEFI_APPLICATION":[],\r
         "IgnoreInf": []\r
         "DscPath": "UefiCpuPkg.dsc",\r
         "IgnoreInf": [\r
             "UefiCpuPkg/ResetVector/FixupVtf/Vtf.inf",\r
-            "UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf"\r
+            "UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf",\r
+            "UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf"\r
         ]\r
     },\r
+    "HostUnitTestDscCompleteCheck": {\r
+        "IgnoreInf": [""],\r
+        "DscPath": "Test/UefiCpuPkgHostTest.dsc"\r
+    },\r
     "GuidCheck": {\r
         "IgnoreGuidName": ["SecCore", "ResetVector"], # Expected duplication for gEfiFirmwareVolumeTopFileGuid\r
         "IgnoreGuidValue": [],\r