]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SourceLevelDebugPkg: Add package CI YAML file
authorMichael Kubacki <michael.kubacki@microsoft.com>
Tue, 4 Oct 2022 15:01:50 +0000 (11:01 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 6 Oct 2022 02:09:28 +0000 (02:09 +0000)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4091

Adds the package as a supported package to .pytool/CISettings.py
and adds a CI YAML for the package so it can be run in CI.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
.pytool/CISettings.py
SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml [new file with mode: 0644]

index f72e327787228a5e6cce6f31dffd8d863c0cb2a8..0c8320b1a32ec098ee5fd7bf132e6579cf446342 100644 (file)
@@ -73,6 +73,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag
                 "UnitTestFrameworkPkg",\r
                 "OvmfPkg",\r
                 "RedfishPkg",\r
+                "SourceLevelDebugPkg",\r
                 "UefiPayloadPkg"\r
                 )\r
 \r
diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml b/SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml
new file mode 100644 (file)
index 0000000..8887a6d
--- /dev/null
@@ -0,0 +1,117 @@
+## @file\r
+# Core CI configuration for SourceLevelDebugPkg\r
+#\r
+# Copyright (c) Microsoft Corporation\r
+#\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+##\r
+{\r
+    ## options defined .pytool/Plugin/LicenseCheck\r
+    "LicenseCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": []\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/CompilerPlugin\r
+    "CompilerPlugin": {\r
+        "DscPath": "SourceLevelDebugPkg.dsc"\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin\r
+    "HostUnitTestCompilerPlugin": {\r
+        "DscPath": "" # Don't support this test\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/CharEncodingCheck\r
+    "CharEncodingCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/DependencyCheck\r
+    "DependencyCheck": {\r
+        "AcceptableDependencies": [\r
+          "MdeModulePkg/MdeModulePkg.dec",\r
+          "MdePkg/MdePkg.dec",\r
+          "SecurityPkg/SecurityPkg.dec",\r
+          "SourceLevelDebugPkg/SourceLevelDebugPkg.dec",\r
+          "UefiCpuPkg/UefiCpuPkg.dec"\r
+        ],\r
+        # For host based unit tests\r
+        "AcceptableDependencies-HOST_APPLICATION":[\r
+          "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"\r
+        ],\r
+        # For UEFI shell based apps\r
+        "AcceptableDependencies-UEFI_APPLICATION":[],\r
+        "IgnoreInf": []\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/DscCompleteCheck\r
+    "DscCompleteCheck": {\r
+        "IgnoreInf": [""],\r
+        "DscPath": "SourceLevelDebugPkg.dsc"\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck\r
+    "HostUnitTestDscCompleteCheck": {\r
+        "IgnoreInf": [""],\r
+        "DscPath": "" # Don't support this test\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/GuidCheck\r
+    "GuidCheck": {\r
+        "IgnoreGuidName": [],\r
+        "IgnoreGuidValue": [],\r
+        "IgnoreFoldersAndFiles": [],\r
+        "IgnoreDuplicates": [],\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/LibraryClassCheck\r
+    "LibraryClassCheck": {\r
+        "IgnoreHeaderFile": []\r
+    },\r
+\r
+    ## options defined .pytool/Plugin/SpellCheck\r
+    "SpellCheck": {\r
+        "AuditOnly": False,          # All failures were addressed when SpellCheck was enabled in this package\r
+        "IgnoreFiles": [],           # use gitignore syntax to ignore errors in matching files\r
+        "ExtendWords": [             # words to extend to the dictionary for this package\r
+          "bidir",\r
+          "bsp's",\r
+          "capbility",               # comes from external package\r
+          "dcddi",\r
+          "dcerstba",\r
+          "dcportsc",\r
+          "dcerstsz",\r
+          "epring",\r
+          "evalu",\r
+          "fxrestor",\r
+          "hccparams",\r
+          "hcsparams",\r
+          "iretd",\r
+          "iretq",\r
+          "isoch",\r
+          "mfindex",\r
+          "ompressed",\r
+          "portsc",\r
+          "sequenceno",\r
+          "smmentrybreak",\r
+          "stosd",\r
+          "stosq",\r
+          "ttach",\r
+          "urb's",\r
+          "xhc's"\r
+        ],\r
+        "IgnoreStandardPaths": [],   # Standard Plugin defined paths that should be ignore\r
+        "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
+    }\r
+}\r