From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com []) by mx.groups.io with SMTP id smtpd.web11.1463.1573089233798338813 for ; Wed, 06 Nov 2019 17:13:56 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: michael.d.kinney@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2019 17:13:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,276,1569308400"; d="scan'208";a="205520608" Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.98.74]) by orsmga003.jf.intel.com with ESMTP; 06 Nov 2019 17:13:56 -0800 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Liming Gao Subject: [Patch v4 12/22] MdePkg: Add YAML file for CI builds Date: Wed, 6 Nov 2019 17:13:39 -0800 Message-Id: <20191107011349.16524-13-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20191107011349.16524-1-michael.d.kinney@intel.com> References: <20191107011349.16524-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add YAML file to the package directory with the configuration of the checks to perform during a CI build. Cc: Liming Gao Signed-off-by: Michael D Kinney --- MdePkg/MdePkg.ci.yaml | 90 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 MdePkg/MdePkg.ci.yaml diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml new file mode 100644 index 0000000000..4015c07f16 --- /dev/null +++ b/MdePkg/MdePkg.ci.yaml @@ -0,0 +1,90 @@ +## +# CI configuration for MdePkg +# +# Copyright (c) Microsoft Corporation +# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + ## options defined ci/Plugin/CompilerPlugin + "CompilerPlugin": { + "DscPath": "MdePkg.dsc" + }, + + ## options defined ci/Plugin/CharEncodingCheck +"CharEncodingCheck": { + "IgnoreFiles": [] + }, + + ## options defined ci/Plugin/DependencyCheck + "DependencyCheck": { + "AcceptableDependencies": [ + "MdePkg/MdePkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[], + "IgnoreInf": [] + }, + + ## options defined ci/Plugin/DscCompleteCheck + "DscCompleteCheck": { + "IgnoreInf": [], + "DscPath": "MdePkg.dsc" + }, + + ## options defined ci/Plugin/GuidCheck + "GuidCheck": { + "IgnoreGuidName": [ + "gEfiFirmwareVolumeTopFileGuid" # sec modules must be set to this guid + ], + "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"], + "IgnoreFoldersAndFiles": [], + "IgnoreDuplicates": [ + "gEfiFirmwareVolumeBlockProtocolGuid=gEfiFirmwareVolumeBlock2ProtocolGuid", + "gEfiMmAccessProtocolGuid=gEfiSmmAccess2ProtocolGuid", + "gEfiSmmCommunicationProtocolGuid=gEfiMmCommunicationProtocolGuid", + "gEfiMmPciRootBridgeIoProtocolGuid=gEfiSmmPciRootBridgeIoProtocolGuid", + "gEfiTrEEProtocolGuid=gEfiTcg2ProtocolGuid", + "gEfiSmmPowerButtonDispatch2ProtocolGuid=gEfiMmPowerButtonDispatchProtocolGuid", + "gEfiSmmBase2ProtocolGuid=gEfiMmBaseProtocolGuid", + "gEfiSmmUsbDispatch2ProtocolGuid=gEfiMmUsbDispatchProtocolGuid", + "gEfiSmmCpuProtocolGuid=gEfiMmCpuProtocolGuid", + "gEfiAcpiTableGuid=gEfiAcpi20TableGuid", + "gEfiSmmControl2ProtocolGuid=gEfiMmControlProtocolGuid", + "gEfiSmmStandbyButtonDispatch2ProtocolGuid=gEfiMmStandbyButtonDispatchProtocolGuid", + "gEfiSmmStatusCodeProtocolGuid=gEfiMmStatusCodeProtocolGuid", + "gEfiDxeSmmReadyToLockProtocolGuid=gEfiDxeMmReadyToLockProtocolGuid", + "gEfiSmmIoTrapDispatch2ProtocolGuid=gEfiMmIoTrapDispatchProtocolGuid", + "gEfiSmmReadyToLockProtocolGuid=gEfiMmReadyToLockProtocolGuid", + "gEfiSmmSxDispatch2ProtocolGuid=gEfiMmSxDispatchProtocolGuid", + "gEfiPeiCapsulePpiGuid=gPeiCapsulePpiGuid", + "gEfiSmmCpuIo2ProtocolGuid=gEfiMmCpuIoProtocolGuid", + "gEfiSmmRscHandlerProtocolGuid=gEfiMmRscHandlerProtocolGuid", + "gEfiSmmConfigurationProtocolGuid=gEfiMmConfigurationProtocolGuid", + "gEfiSmmGpiDispatch2ProtocolGuid=gEfiMmGpiDispatchProtocolGuid", + "gEfiSmmEndOfDxeProtocolGuid=gEfiMmEndOfDxeProtocolGuid", + "gEfiSmmSwDispatch2ProtocolGuid=gEfiMmSwDispatchProtocolGuid", + "gEfiDebugPortProtocolGuid=gEfiDebugPortVariableGuid=gEfiDebugPortDevicePathGuid", ## is this a bug + "gEfiProcessorSpecificErrorSectionGuid=gEfiIa32X64ProcessorErrorSectionGuid", ## is this a bug + "gEfiSmmPeriodicTimerDispatch2ProtocolGuid=gEfiMmPeriodicTimerDispatchProtocolGuid", + "gEdkiiFormBrowserExProtocolGuid=gEfiFormBrowserExProtocolGuid", + "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid", + "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid" + ] + }, + + ## options defined ci/Plugin/LibraryClassCheck + "LibraryClassCheck": { + "IgnoreHeaderFile": [] + }, + + ## options defined ci/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log + "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files + "ExtendWords": [], # words to extend to the dictionary for this package + "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported) + } +} -- 2.21.0.windows.1