diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2022-10-04 11:01:50 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-10-06 02:09:28 +0000 |
commit | cf01fdd5d7cee200de5cf1a18f32daa87159d3bc (patch) | |
tree | 512bf3686420a62288852018fa716ee074fb2c0e | |
parent | d6d4a81f8ad4e41c39200a8b8e4f02fe8f97634b (diff) | |
download | edk2-cf01fdd5d7cee200de5cf1a18f32daa87159d3bc.zip edk2-cf01fdd5d7cee200de5cf1a18f32daa87159d3bc.tar.gz edk2-cf01fdd5d7cee200de5cf1a18f32daa87159d3bc.tar.bz2 |
SourceLevelDebugPkg: Add package CI YAML file
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>
-rw-r--r-- | .pytool/CISettings.py | 1 | ||||
-rw-r--r-- | SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml | 117 |
2 files changed, 118 insertions, 0 deletions
diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index f72e327..0c8320b 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -73,6 +73,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag "UnitTestFrameworkPkg",
"OvmfPkg",
"RedfishPkg",
+ "SourceLevelDebugPkg",
"UefiPayloadPkg"
)
diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml b/SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml new file mode 100644 index 0000000..8887a6d --- /dev/null +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml @@ -0,0 +1,117 @@ +## @file
+# Core CI configuration for SourceLevelDebugPkg
+#
+# Copyright (c) Microsoft Corporation
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+##
+{
+ ## options defined .pytool/Plugin/LicenseCheck
+ "LicenseCheck": {
+ "IgnoreFiles": []
+ },
+
+ "EccCheck": {
+ ## Exception sample looks like below:
+ ## "ExceptionList": [
+ ## "<ErrorID>", "<KeyWord>"
+ ## ]
+ "ExceptionList": [
+ ],
+ ## Both file path and directory path are accepted.
+ "IgnoreFiles": []
+ },
+
+ ## options defined .pytool/Plugin/CompilerPlugin
+ "CompilerPlugin": {
+ "DscPath": "SourceLevelDebugPkg.dsc"
+ },
+
+ ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
+ "HostUnitTestCompilerPlugin": {
+ "DscPath": "" # Don't support this test
+ },
+
+ ## options defined .pytool/Plugin/CharEncodingCheck
+ "CharEncodingCheck": {
+ "IgnoreFiles": []
+ },
+
+ ## options defined .pytool/Plugin/DependencyCheck
+ "DependencyCheck": {
+ "AcceptableDependencies": [
+ "MdeModulePkg/MdeModulePkg.dec",
+ "MdePkg/MdePkg.dec",
+ "SecurityPkg/SecurityPkg.dec",
+ "SourceLevelDebugPkg/SourceLevelDebugPkg.dec",
+ "UefiCpuPkg/UefiCpuPkg.dec"
+ ],
+ # For host based unit tests
+ "AcceptableDependencies-HOST_APPLICATION":[
+ "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
+ ],
+ # For UEFI shell based apps
+ "AcceptableDependencies-UEFI_APPLICATION":[],
+ "IgnoreInf": []
+ },
+
+ ## options defined .pytool/Plugin/DscCompleteCheck
+ "DscCompleteCheck": {
+ "IgnoreInf": [""],
+ "DscPath": "SourceLevelDebugPkg.dsc"
+ },
+
+ ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
+ "HostUnitTestDscCompleteCheck": {
+ "IgnoreInf": [""],
+ "DscPath": "" # Don't support this test
+ },
+
+ ## options defined .pytool/Plugin/GuidCheck
+ "GuidCheck": {
+ "IgnoreGuidName": [],
+ "IgnoreGuidValue": [],
+ "IgnoreFoldersAndFiles": [],
+ "IgnoreDuplicates": [],
+ },
+
+ ## options defined .pytool/Plugin/LibraryClassCheck
+ "LibraryClassCheck": {
+ "IgnoreHeaderFile": []
+ },
+
+ ## options defined .pytool/Plugin/SpellCheck
+ "SpellCheck": {
+ "AuditOnly": False, # All failures were addressed when SpellCheck was enabled in this package
+ "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
+ "ExtendWords": [ # words to extend to the dictionary for this package
+ "bidir",
+ "bsp's",
+ "capbility", # comes from external package
+ "dcddi",
+ "dcerstba",
+ "dcportsc",
+ "dcerstsz",
+ "epring",
+ "evalu",
+ "fxrestor",
+ "hccparams",
+ "hcsparams",
+ "iretd",
+ "iretq",
+ "isoch",
+ "mfindex",
+ "ompressed",
+ "portsc",
+ "sequenceno",
+ "smmentrybreak",
+ "stosd",
+ "stosq",
+ "ttach",
+ "urb's",
+ "xhc's"
+ ],
+ "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
+ "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
+ }
+}
|