]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: Add YAML file for CI builds
authorMichael D Kinney <michael.d.kinney@intel.com>
Mon, 28 Oct 2019 20:21:54 +0000 (13:21 -0700)
committerMichael D Kinney <michael.d.kinney@intel.com>
Mon, 11 Nov 2019 21:02:38 +0000 (13:02 -0800)
https://bugzilla.tianocore.org/show_bug.cgi?id=2315

Add YAML file to the package directory with the
configuration of the checks to perform during a
CI build.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
UefiCpuPkg/UefiCpuPkg.ci.yaml [new file with mode: 0644]

diff --git a/UefiCpuPkg/UefiCpuPkg.ci.yaml b/UefiCpuPkg/UefiCpuPkg.ci.yaml
new file mode 100644 (file)
index 0000000..99e460a
--- /dev/null
@@ -0,0 +1,51 @@
+## @file\r
+# CI configuration for UefiCpuPkg\r
+#\r
+# Copyright (c) Microsoft Corporation\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+##\r
+{\r
+    "CompilerPlugin": {\r
+        "DscPath": "UefiCpuPkg.dsc"\r
+    },\r
+    "CharEncodingCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+    "DependencyCheck": {\r
+        "AcceptableDependencies": [\r
+            "MdePkg/MdePkg.dec",\r
+            "MdeModulePkg/MdeModulePkg.dec",\r
+            "UefiCpuPkg/UefiCpuPkg.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": "UefiCpuPkg.dsc",\r
+        "IgnoreInf": [\r
+            "UefiCpuPkg/ResetVector/FixupVtf/Vtf.inf",\r
+            "UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf"\r
+        ]\r
+    },\r
+    "GuidCheck": {\r
+        "IgnoreGuidName": ["SecCore", "ResetVector"], # Expected duplication for gEfiFirmwareVolumeTopFileGuid\r
+        "IgnoreGuidValue": [],\r
+        "IgnoreFoldersAndFiles": [],\r
+        "IgnoreDuplicates": []\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
+        "IgnoreFiles": [],           # use gitignore syntax to ignore errors in matching files\r
+        "ExtendWords": [],           # words to extend to the dictionary for this package\r
+        "IgnoreStandardPaths": [],   # Standard Plugin defined paths that should be ignore\r
+        "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
+    }\r
+}\r