]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/SecurityPkg.ci.yaml
SecurityPkg: Add YAML files for CI builds
[mirror_edk2.git] / SecurityPkg / SecurityPkg.ci.yaml
diff --git a/SecurityPkg/SecurityPkg.ci.yaml b/SecurityPkg/SecurityPkg.ci.yaml
new file mode 100644 (file)
index 0000000..9532190
--- /dev/null
@@ -0,0 +1,80 @@
+## @file\r
+# CI configuration for SecurityPkg\r
+#\r
+# Copyright (c) Microsoft Corporation\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+##\r
+{\r
+    "CompilerPlugin": {\r
+        "DscPath": "SecurityPkg.dsc"\r
+    },\r
+    "CharEncodingCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+    "DependencyCheck": {\r
+        "AcceptableDependencies": [\r
+            "MdePkg/MdePkg.dec",\r
+            "MdeModulePkg/MdeModulePkg.dec",\r
+            "SecurityPkg/SecurityPkg.dec",\r
+            "CryptoPkg/CryptoPkg.dec"\r
+        ],\r
+        # For host based unit tests\r
+        "AcceptableDependencies-HOST_APPLICATION":[],\r
+        # For UEFI shell based apps\r
+        "AcceptableDependencies-UEFI_APPLICATION":[],\r
+        "IgnoreInf": []\r
+    },\r
+    "DscCompleteCheck": {\r
+        "DscPath": "SecurityPkg.dsc",\r
+        "IgnoreInf": []\r
+    },\r
+    "GuidCheck": {\r
+        "IgnoreGuidName": [],\r
+        "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],\r
+        "IgnoreFoldersAndFiles": [],\r
+        "IgnoreDuplicates": [\r
+            "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", #  by design\r
+        ]\r
+    },\r
+    "LibraryClassCheck": {\r
+        "IgnoreHeaderFile": []\r
+    },\r
+\r
+    ## options defined ci/Plugin/SpellCheck\r
+    "SpellCheck": {\r
+        "AuditOnly": True,           # Fails test but run in AuditOnly mode to collect log\r
+        "ExtendWords": [             # words to extend to the dictionary for this package\r
+            "shortformed", # tpm acpi\r
+            "autodetect",\r
+            "blocksid",\r
+            "comid",\r
+            "cpinsidpin", #OpalSScV2\r
+            "ecdsa", # TPM\r
+            "ecschnorr", # TPM\r
+            "eisaid", # ACPI\r
+            "harddisk",\r
+            "hashall",\r
+            "hashto",\r
+            "kek's",\r
+            "lfanew", # PE/COFF\r
+            "pcrindex",\r
+            "pkglength",\r
+            "ppuser",\r
+            "preos",\r
+            "stclear",\r
+            "toctou",\r
+            "tpm's",\r
+            "tpmcmdbuflength",\r
+            "tpmcommlib",\r
+            "tpmnvvaluelength",\r
+            "wrlocked",\r
+            "xored"\r
+        ],\r
+        "IgnoreStandardPaths": [],   # Standard Plugin defined paths that should be ignore\r
+        "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
+    },\r
+\r
+    "Defines": {\r
+        "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",\r
+    }\r
+}\r