]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/CryptoPkg.ci.yaml
CryptoPkg/CrtLibSupport: add fcntl.h
[mirror_edk2.git] / CryptoPkg / CryptoPkg.ci.yaml
index e73b79e01fef630098d43cf2c1d4605a33dacd20..396ca93dbe4994a02071aba65314228e4ecf35e2 100644 (file)
@@ -2,15 +2,54 @@
 # CI configuration for CryptoPkg\r
 #\r
 # Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>\r
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
     "LicenseCheck": {\r
-        "IgnoreFiles": []\r
+        "IgnoreFiles": [\r
+            # These directories contain auto-generated OpenSSL content\r
+            "Library/OpensslLib/X64",\r
+            "Library/OpensslLib/X64Gcc"\r
+        ]\r
+    },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+            "8001", "IsLeap",\r
+            "8001", "OBJ_get0_data",\r
+            "8001", "OBJ_length"\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+            "Library/OpensslLib/openssl",\r
+            # The unit testing folder is not to be checked\r
+            "Test/UnitTest",\r
+            # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+            "Library/BaseCryptLib/SysCall",\r
+            # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+            "Library/OpensslLib/rand_pool.c",\r
+            # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+            "Library/Include/CrtLibSupport.h",\r
+            # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+            "Library/BaseCryptLib/Hash/CryptParallelHash.h",\r
+            "Library/Include/fcntl.h",\r
+            # These directories contain auto-generated OpenSSL content\r
+            "Library/OpensslLib",\r
+            "Library/IntrinsicLib",\r
+            "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"\r
+        ]\r
     },\r
     "CompilerPlugin": {\r
         "DscPath": "CryptoPkg.dsc"\r
     },\r
+    ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin\r
+    "HostUnitTestCompilerPlugin": {\r
+        "DscPath": "Test/CryptoPkgHostUnitTest.dsc"\r
+    },\r
     "CharEncodingCheck": {\r
         "IgnoreFiles": []\r
     },\r
     },\r
     "DscCompleteCheck": {\r
         "DscPath": "CryptoPkg.dsc",\r
-        "IgnoreInf": []\r
+        "IgnoreInf": [\r
+            # These are alternatives to OpensslLib.inf\r
+            "CryptoPkg/Library/OpensslLib/OpensslLibX64.inf",\r
+            "CryptoPkg/Library/OpensslLib/OpensslLibX64Gcc.inf"\r
+        ]\r
     },\r
     "GuidCheck": {\r
         "IgnoreGuidName": [],\r