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.14346.1663268147207324318 for ; Thu, 15 Sep 2022 11:55:47 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=Asf7aq+3; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id 4A91F20B929C; Thu, 15 Sep 2022 11:55:46 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4A91F20B929C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1663268146; bh=t6lIvpDIoLfQbMdlr1QZHbaiFcP3R1GRbfrqh0AxIhk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Asf7aq+3rgWqclKYFyJuADWuAE0IGW5NuLLRfAi+/g/rn4OnxQvgkp9WNx9FJgFI1 Uq0fjOFEnB7bC1LHAnbamzy+aun9RHILPyKB/2GhM/NdrvcyobmXXsNipDISRo0nuC /FeU6lxpuZ+oojpPzNcA5X3IQLXV9wE+gCQGYQ4M= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [PATCH v2 5/6] IntelFsp2WrapperPkg: Add CI YAML file Date: Thu, 15 Sep 2022 14:55:07 -0400 Message-Id: <20220915185508.997-6-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220915185508.997-1-mikuback@linux.microsoft.com> References: <20220915185508.997-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=3D4048 Adds IntelFsp2WrapperPkg to the list of supported build packages for edk2 CI and defines an initial set of CI configuration options. Adds a special case for the Library Class check CI plugin to ignore FspWrapperPlatformMultiPhaseLib with an explanatory comment. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Michael Kubacki --- .pytool/CISettings.py | 1 + IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.ci.yaml | 96 +++++++++++++++++++= + 2 files changed, 97 insertions(+) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index 0205c26a58f8..d9a260784e59 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -55,6 +55,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "DynamicTablesPkg", "EmulatorPkg", "IntelFsp2Pkg", + "IntelFsp2WrapperPkg", "MdePkg", "MdeModulePkg", "NetworkPkg", diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.ci.yaml b/IntelFsp2W= rapperPkg/IntelFsp2WrapperPkg.ci.yaml new file mode 100644 index 000000000000..55f28d90870c --- /dev/null +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.ci.yaml @@ -0,0 +1,96 @@ +## @file +# Core CI configuration for IntelFsp2WrapperPkg +# +# 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": "IntelFsp2WrapperPkg.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": [ + "IntelFsp2Pkg/IntelFsp2Pkg.dec", + "IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "MdePkg/MdePkg.dec", + "SecurityPkg/SecurityPkg.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": "IntelFsp2WrapperPkg.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": { + "IgnoreLibraryClass": [ + # This header file contains a small function in a separate lib= rary so platforms + # do not have to override the whole main library instance. + "FspWrapperPlatformMultiPhaseLib" + ] + }, + + ## options defined .pytool/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": True, # Fails right now with over 270 err= ors + "IgnoreFiles": [], # use gitignore syntax to ignore er= rors in matching files + "ExtendWords": [], # words to extend to the dictionary= for this package + "IgnoreStandardPaths": [], # Standard Plugin defined paths tha= t should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check (= wildcards supported) + } +} --=20 2.28.0.windows.1