From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web08.11949.1664896784439426822 for ; Tue, 04 Oct 2022 08:19:44 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=fGp+WDav; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id 9A2F120E6F43; Tue, 4 Oct 2022 08:19:43 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9A2F120E6F43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1664896784; bh=3a72TcIWFCjqx6kCmOPNXuyQL8GY5ZxOXzZk6/ziQaM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fGp+WDavdE84SS3roP5wqKAXixwCrG3LKg+Ir7s6ATpmnAB05vGii3aKaxs4Ri02y gC158FCAcu21x+Rq8/KbfdvSchYzagBfp6hCkAWxKPugbuwLEQhFTz58/MkpZJ/eqw hCtyQrXFIzqNtNwqp7I6Ye6tLzYCyHsrqE9mvGEE= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Hao A Wu , Michael D Kinney Subject: [PATCH v1 2/3] SourceLevelDebugPkg: Add package CI YAML file Date: Tue, 4 Oct 2022 11:18:57 -0400 Message-Id: <20221004151858.870-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20221004151858.870-1-mikuback@linux.microsoft.com> References: <20221004151858.870-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4091 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 Cc: Michael D Kinney Signed-off-by: Michael Kubacki --- .pytool/CISettings.py | 1 + SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml | 117 ++++++++++++++++++= ++ 2 files changed, 118 insertions(+) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index aef850a54549..f2c6303b2a08 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -70,6 +70,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "UnitTestFrameworkPkg", "OvmfPkg", "RedfishPkg", + "SourceLevelDebugPkg", "UefiPayloadPkg" ) =20 diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.ci.yaml b/SourceLeve= lDebugPkg/SourceLevelDebugPkg.ci.yaml new file mode 100644 index 000000000000..8887a6d10bc5 --- /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": [ + ## "", "" + ## ] + "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 er= rors 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 tha= t should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check (= wildcards supported) + } +} --=20 2.28.0.windows.1