From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web08.3804.1641630543555133844 for ; Sat, 08 Jan 2022 00:29:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=NXkHwDoG; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=000704d8ca=abner.chang@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2086WRHp014096; Sat, 8 Jan 2022 08:29:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pps0720; bh=TQajC+igBqlXGu1Lwo3AehI4qXpVQCWFDVheSuJbLMI=; b=NXkHwDoGNLEU6a80RDD1U9tMXxfOQC/B61X29y+acAgT1Jt720waeSfacVR202KnzR8d i7S99b8YudEiTQAUGpJsMR2mwRLLyeqNlhdXSmDeE35yuEYV858V+BxYYS2B7JBdCEps Z7/K8NYBGDeJG/GsddhQUNoEhrdM2C0af04Z2PjkPG29j1VV/NEgBqhimbxxNb/NUwge KfzFyTWwHorEZOTLzkZdzO4+1hPSPj68W5QigLXrFcrECmGx45KvdIzKQPnxz0HvCgbL iLCsTroBGtBRBVZs7eqnl4Q4DhJa3j6Tl9t2F3ejU+IBEY7tQ4WFcoqS7AGXWqYXK3Fr Zg== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3df395rv6k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 08 Jan 2022 08:29:02 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id F17DF81; Sat, 8 Jan 2022 08:29:01 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id E44C937; Sat, 8 Jan 2022 08:29:00 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [PATCH 78/79] edk2: RiscVPkg Core CI YAML file Date: Sat, 8 Jan 2022 15:27:36 +0800 Message-Id: <20220108072737.17962-17-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220108072737.17962-1-abner.chang@hpe.com> References: <20220108072737.17962-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: rECNMNLdOa9LdGH0CZ50r4hrJbta1hBu X-Proofpoint-GUID: rECNMNLdOa9LdGH0CZ50r4hrJbta1hBu X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-08_03,2022-01-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201080064 Content-Transfer-Encoding: quoted-printable Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- RiscVPkg/RiscVPkg.ci.yaml | 151 ++++++++++++++++++++++ RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml | 3 +- 2 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 RiscVPkg/RiscVPkg.ci.yaml diff --git a/RiscVPkg/RiscVPkg.ci.yaml b/RiscVPkg/RiscVPkg.ci.yaml new file mode 100644 index 0000000000..dd81812970 --- /dev/null +++ b/RiscVPkg/RiscVPkg.ci.yaml @@ -0,0 +1,151 @@ +## @file=0D +# Core CI configuration for RiscVPkg=0D +#=0D +# RiscVPkg is part of Platform Ci for builds so this is only=0D +# used for code analysis.=0D +#=0D +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
=0D +#=0D +# SPDX-License-Identifier: BSD-2-Clause-Patent=0D +##=0D +{=0D + ## options defined .pytool/Plugin/LicenseCheck=0D + "LicenseCheck": {=0D + "IgnoreFiles": []=0D + },=0D + "EccCheck": {=0D + ## Exception sample looks like below:=0D + ## "ExceptionList": [=0D + ## "", ""=0D + ## ]=0D + "ExceptionList": [=0D + ],=0D + ## Both file path and directory path are accepted.=0D + "IgnoreFiles": [=0D + ## Below source files incorporate with open source=0D + ## RISC-V OpenSBI project, in which some coding style is=0D + ## not able to pass the ECC.=0D + "Library/RiscVOpensbiLib/opensbi",=0D + "Include/OpensbiTypes.h",=0D + "Library/RiscVExceptionLib/CpuExceptionHandlerLib.h",=0D + "Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.c"=0D + ]=0D + },=0D + ## options defined .pytool/Plugin/CompilerPlugin=0D + "CompilerPlugin": {=0D + "DscPath": "" # Don't support this test=0D + },=0D +=0D + ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin=0D + "HostUnitTestCompilerPlugin": {=0D + "DscPath": "" # Don't support this test=0D + },=0D +=0D + ## options defined .pytool/Plugin/CharEncodingCheck=0D + "CharEncodingCheck": {=0D + "IgnoreFiles": []=0D + },=0D +=0D + ## options defined .pytool/Plugin/DependencyCheck=0D + "DependencyCheck": {=0D + "AcceptableDependencies": [=0D + "MdePkg/MdePkg.dec",=0D + "MdeModulePkg/MdeModulePkg.dec",=0D + "EmbeddedPkg/EmbeddedPkg.dec",=0D + "RiscVPkg/RiscVPkg.dec",=0D + "RiscVPlatformPkg/RiscVPlatformPkg.dec"=0D + ],=0D + # For host based unit tests=0D + "AcceptableDependencies-HOST_APPLICATION":[=0D + "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"=0D + ],=0D + # For UEFI shell based apps=0D + "AcceptableDependencies-UEFI_APPLICATION":[],=0D + "IgnoreInf": []=0D + },=0D +=0D + ## options defined .pytool/Plugin/DscCompleteCheck=0D + "DscCompleteCheck": {=0D + "IgnoreInf": [""],=0D + "DscPath": "" # Don't support this test=0D + },=0D +=0D + ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck=0D + "HostUnitTestDscCompleteCheck": {=0D + "IgnoreInf": [""],=0D + "DscPath": "" # Don't support this test=0D + },=0D +=0D + ## options defined .pytool/Plugin/GuidCheck=0D + "GuidCheck": {=0D + "IgnoreGuidName": [],=0D + "IgnoreGuidValue": [],=0D + "IgnoreFoldersAndFiles": [],=0D + "IgnoreDuplicates": [],=0D + },=0D +=0D + ## options defined .pytool/Plugin/LibraryClassCheck=0D + "LibraryClassCheck": {=0D + "IgnoreHeaderFile": []=0D + },=0D +=0D + ## options defined .pytool/Plugin/SpellCheck=0D + "SpellCheck": {=0D + "AuditOnly": False, # Fails right now with over 270 error= s=0D + "IgnoreFiles": [ # use gitignore syntax to ignore erro= rs in matching files=0D + "Library/RiscVOpensbiLib/opensbi/**"=0D + ],=0D + "ExtendWords": [ # words to extend to the dictionary fo= r this package=0D + "aclint",=0D + "dmdepkg",=0D + "ecall",=0D + "ecalls",=0D + "efifstub",=0D + "excep",=0D + "execption",=0D + "gaisler",=0D + "hardfp",=0D + "hfence",=0D + "htimehw",=0D + "htimew",=0D + "impid",=0D + "irqchip",=0D + "keepexceptiontable",=0D + "libfdt",=0D + "mbase",=0D + "mbound",=0D + "mcause",=0D + "mdbase",=0D + "mdbound",=0D + "memeory",=0D + "mfromhost",=0D + "mhartid",=0D + "mibase",=0D + "mibound",=0D + "mideleg",=0D + "mscratch",=0D + "mstatus",=0D + "mtimeh",=0D + "mtimer",=0D + "mtohost",=0D + "mtvec",=0D + "mvendorid",=0D + "opensbi",=0D + "prilx",=0D + "rfence",=0D + "scasue",=0D + "scause",=0D + "sfence",=0D + "sifive",=0D + "smode",=0D + "sramt",=0D + "sscratch",=0D + "sstatus",=0D + "stval",=0D + "stvec",=0D + "transational"=0D + ],=0D + "IgnoreStandardPaths": [], # Standard Plugin defined paths that = should be ignore=0D + "AdditionalIncludePaths": [] # Additional paths to spell check (wi= ldcards supported)=0D + }=0D +}=0D diff --git a/RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml b/RiscVPlatformPkg/R= iscVPlatformPkg.ci.yaml index 5382be26bb..a46c6310ca 100644 --- a/RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml +++ b/RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml @@ -52,7 +52,8 @@ "MdePkg/MdePkg.dec",=0D "MdeModulePkg/MdeModulePkg.dec",=0D "EmbeddedPkg/EmbeddedPkg.dec",=0D - "RiscVPkg/RiscVPkg.dec"=0D + "RiscVPkg/RiscVPkg.dec",=0D + "RiscVPlatformPkg/RiscVPlatformPkg.dec"=0D ],=0D # For host based unit tests=0D "AcceptableDependencies-HOST_APPLICATION":[=0D --=20 2.31.1