From nobody Sat Feb 7 08:28:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+93310+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+93310+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1662518253; cv=none; d=zohomail.com; s=zohoarc; b=JSeFO1Zf+1vpuv7UXLNRPmjiY1hujAspDhkdB4SaTGmQfyd9BL8XsrWULmu+0DQ7AbVpwawpbzb9V91lQN7ly2ji61jnqKUQOrHurLjaRW9Z40uWg6mjczLhDSSojc+McP2knQyeOcea4PccuKSpfgMGfDvC61SKrR5vjGv9UIQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662518253; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=3j7pdl5903qFlH7d6s5040AJx1xS7oSUVAobEoo8i4c=; b=i2Z8aFJrgLn0Oen8kBDkG5Oqv8rCtaOhzFwR313IFv+jENT3FWwEvBlD2PQ2yzh0gpu9mnLqLTQmvxMHLqVsMeiqGA5Ax5ndMkTWxQG2o2SWztBgkxVJFJZDDQBU4SMPHItcEapP0/YO5HykIUKZitBi+GvLWQIqIhhIKL6OrOU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+93310+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1662518253428208.07627536801908; Tue, 6 Sep 2022 19:37:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id qtQSYY1788612xoIai7SiQlw; Tue, 06 Sep 2022 19:37:33 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.3245.1662518252314477539 for ; Tue, 06 Sep 2022 19:37:32 -0700 X-Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id 3396620B929C; Tue, 6 Sep 2022 19:37:31 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3396620B929C From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Abner Chang , Daniel Schaefer Subject: [edk2-devel] [PATCH v1 2/3] EmbeddedPkg: Add CI YAML file Date: Tue, 6 Sep 2022 22:36:48 -0400 Message-Id: <20220907023649.312-3-mikuback@linux.microsoft.com> In-Reply-To: <20220907023649.312-1-mikuback@linux.microsoft.com> References: <20220907023649.312-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com X-Gm-Message-State: JEIiRjFko758A8asjvmqVzREx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1662518253; bh=wpGpy0Pm8dJeb2eOCd0FcLBIDsNSkLL+ylEfGnMRJ2o=; h=Cc:Date:From:Reply-To:Subject:To; b=Dis9QJXDCR92Cx6yYmswoSfwq94BrTHY16HL2pyUTaCp0dRsBuOWTsq7Sd7pvape6wS 35gc9HixameeOIUEdFwEb53Ay96MGgolr3G1P4IBwh5sdMMWzzMso8LSbGEXV8tsyRdp5 SXQ6VF4/YTNWV88ljB+IcZJImcWcYVd6mAU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1662518254758100001 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4046 Adds EmbeddedPkg to the list of supported build packages for edk2 CI and fixes Library Class Check errors reported. These changes allow EmbeddedPkg to pass NO-TARGET CI testing. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Signed-off-by: Michael Kubacki --- .pytool/CISettings.py | 1 + EmbeddedPkg/EmbeddedPkg.ci.yaml | 89 ++++++++++++++++++++ EmbeddedPkg/EmbeddedPkg.dec | 8 ++ 3 files changed, 98 insertions(+) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index cf9e0d77b19b..aef850a54549 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -53,6 +53,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMana= ger, SetupSettingsManag "ArmPlatformPkg", "ArmVirtPkg", "DynamicTablesPkg", + "EmbeddedPkg", "EmulatorPkg", "MdePkg", "MdeModulePkg", diff --git a/EmbeddedPkg/EmbeddedPkg.ci.yaml b/EmbeddedPkg/EmbeddedPkg.ci.y= aml new file mode 100644 index 000000000000..21f30108a29f --- /dev/null +++ b/EmbeddedPkg/EmbeddedPkg.ci.yaml @@ -0,0 +1,89 @@ +## @file +# Core CI configuration for EmbeddedPkg +# +# 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": "EmbeddedPkg.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": [ + "ArmPkg/ArmPkg.dec", + "ArmPlatformPkg/ArmPlatformPkg.dec", + "EmbeddedPkg/EmbeddedPkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "MdePkg/MdePkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[], + "IgnoreInf": [] + }, + + ## options defined .pytool/Plugin/DscCompleteCheck + "DscCompleteCheck": { + "IgnoreInf": [""], + "DscPath": "" # Don't support this test + }, + + ## 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": True, # Fails right now with over 270 errors + "IgnoreFiles": [], # use gitignore syntax to ignore erro= rs in matching files + "ExtendWords": [], # words to extend to the dictionary f= or this package + "IgnoreStandardPaths": [], # Standard Plugin defined paths that = should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check (wi= ldcards supported) + } +} diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec index 637888e0fd4f..341ef5e6a679 100644 --- a/EmbeddedPkg/EmbeddedPkg.dec +++ b/EmbeddedPkg/EmbeddedPkg.dec @@ -36,6 +36,14 @@ [LibraryClasses.common] GdbSerialLib|Include/Library/GdbSerialLib.h DebugAgentTimerLib|Include/Library/DebugAgentTimerLib.h NorFlashInfoLib|Include/Library/NorFlashInfoLib.h + HalRuntimeServicesLib|Include/Library/HalRuntimeServicesLib.h + PrePiHobListPointerLib|Include/Library/PrePiHobListPointerLib.h + TimeBaseLib|Include/Library/TimeBaseLib.h + AcpiLib|Include/Library/AcpiLib.h + AndroidBootImgLib|Include/Library/AndroidBootImgLib.h + DmaLib|Include/Library/DmaLib.h + EfiFileLib|Include/Library/EfiFileLib.h + FdtLoadLib|Include/Library/FdtLoadLib.h =20 DtPlatformDtbLoaderLib|Include/Library/DtPlatformDtbLoaderLib.h =20 --=20 2.28.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93310): https://edk2.groups.io/g/devel/message/93310 Mute This Topic: https://groups.io/mt/93517524/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-