From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.9592.1619605267989933735 for ; Wed, 28 Apr 2021 03:21:08 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9394C1FB; Wed, 28 Apr 2021 03:21:07 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.1.97]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 244293F70D; Wed, 28 Apr 2021 03:21:05 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, sami.mujawar@arm.com, leif@nuviainc.com, ardb+tianocore@kernel.org, sean.brogan@microsoft.com, Bret.Barkelew@microsoft.com Subject: [PATCH v3 09/15] ArmPkg: Add ArmPkg.ci.yaml Date: Wed, 28 Apr 2021 11:20:14 +0100 Message-Id: <20210428102020.2311-10-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210428102020.2311-1-Pierre.Gondois@arm.com> References: <20210428102020.2311-1-Pierre.Gondois@arm.com> From: Pierre Gondois Add ArmPkg.ci.yaml to configure the CI for the ArmPkg. Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- Notes: V2: - Remove "eoi'ed" from the list of exceptions of the spell checker [Sami] ArmPkg/ArmPkg.ci.yaml | 221 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 ArmPkg/ArmPkg.ci.yaml diff --git a/ArmPkg/ArmPkg.ci.yaml b/ArmPkg/ArmPkg.ci.yaml new file mode 100644 index 000000000000..d91c03f2acb8 --- /dev/null +++ b/ArmPkg/ArmPkg.ci.yaml @@ -0,0 +1,221 @@ +## @file +# CI configuration for ArmPkg +# +# Copyright (c) 2021, Arm Limited. All rights reserved.
+# 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": [ + "Library/ArmSoftFloatLib/berkeley-softfloat-3" + ] + }, + + ## options defined .pytool/Plugin/CompilerPlugin + "CompilerPlugin": { + "DscPath": "ArmPkg.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": [ + "ArmPlatformPkg/ArmPlatformPkg.dec", + "ArmPkg/ArmPkg.dec", + "EmbeddedPkg/EmbeddedPkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "MdePkg/MdePkg.dec", + "ShellPkg/ShellPkg.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": "ArmPkg.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, + "IgnoreFiles": [ + "Library/ArmSoftFloatLib/berkeley-softfloat-3/**" + ], # use gitignore syntax to ignore errors + # in matching files + "ExtendWords": [ + "api's", + "ackintid", + "actlr", + "aeabi", + "ashldi", + "ashrdi", + "ccidx", + "ccsidr", + "clidr", + "clrex", + "clzsi", + "cpuactlr", + "csselr", + "ctzsi", + "cygdrive", + "cygpaths", + "datas", + "dcmpeq", + "dcmpge", + "dcmpgt", + "dcmple", + "dcmplt", + "ddisable", + "divdi", + "divsi", + "dmdepkg", + "drsub", + "fcmpeq", + "fcmpge", + "fcmpgt", + "fcmple", + "fcmplt", + "ffreestanding", + "frsub", + "hisilicon", + "iccbpr", + "icciar", + "iccicr", + "icciidr", + "iccpmr", + "icdicer", + "icdicfr", + "icdictr", + "icdiser", + "icdisr", + "icdsgir", + "icenabler", + "intid", + "ipriority", + "irouter", + "isenabler", + "istatus", + "itargets", + "lable", + "ldivmod", + "ldmdb", + "ldmia", + "ldrbt", + "ldrex", + "ldrexb", + "ldrexd", + "ldrexh", + "ldrhbt", + "ldrht", + "ldrsb", + "ldrsbt", + "ldrsh", + "lshrdi", + "moddi", + "modsi", + "mpidr", + "muldi", + "mullu", + "nonshareable", + "nsacr", + "nsasedis", + "nuvia", + "oldit", + "readc", + "revsh", + "rfedb", + "sctlr", + "smccc", + "smlabb", + "smlabt", + "smlad", + "smladx", + "smlatb", + "smlatt", + "smlawb", + "smlawt", + "smlsd", + "smlsdx", + "smmla", + "smmlar", + "smmls", + "smmlsr", + "sourcery", + "srsdb", + "stmdb", + "stmia", + "strbt", + "strexb", + "strexd", + "strexh", + "strht", + "switchu", + "tpidrurw", + "ttbcr", + "typer", + "ucmpdi", + "udivdi", + "udivmoddi", + "udivsi", + "uefi's", + "uldiv", + "umoddi", + "umodsi", + "usada", + "vlpis", + "writec" + ], # words to extend to the dictionary for this package + "IgnoreStandardPaths": [ # Standard Plugin defined paths that + "*.asm", "*.s" # should be ignore + ], + "AdditionalIncludePaths": [] # Additional paths to spell check + # (wildcards supported) + } +} -- 2.17.1