From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web12.707.1572378927372028712 for ; Tue, 29 Oct 2019 12:55:27 -0700 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 fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 12:55:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,245,1569308400"; d="scan'208";a="211170238" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.251.0.39]) by fmsmga001.fm.intel.com with ESMTP; 29 Oct 2019 12:55:27 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Liming Gao Subject: [Patch v3 12/22] MdePkg: Add YAML file for CI builds Date: Tue, 29 Oct 2019 12:55:07 -0700 Message-Id: <20191029195517.20028-13-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20191029195517.20028-1-michael.d.kinney@intel.com> References: <20191029195517.20028-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://bugzilla.tianocore.org/show_bug.cgi?id=2315 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