[edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI.

Abner Chang posted 5 patches 5 years, 11 months ago
[edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI.
Posted by Abner Chang 5 years, 11 months ago
BZ:2562:
https://bugzilla.tianocore.org/show_bug.cgi?id=2562

Add yaml file for EDK2 CI testing on RiscVPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>

Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com>
Signed-off-by: Abner Chang <abner.chang@hpe.com>
---
 RiscVPkg/RiscVPkg.ci.yaml | 68 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 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..f0aadbb619
--- /dev/null
+++ b/RiscVPkg/RiscVPkg.ci.yaml
@@ -0,0 +1,68 @@
+## @file
+# CI configuration for RiscVPkg
+#
+# Copyright (c) Microsoft Corporation
+# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+##
+{
+    ## options defined ci/Plugin/CompilerPlugin
+    "CompilerPlugin": {
+        "DscPath": "RiscVPkg.dsc"
+    },
+    ## options defined ci/Plugin/HostUnitTestCompilerPlugin
+    "HostUnitTestCompilerPlugin": {
+    },
+
+    ## options defined ci/Plugin/CharEncodingCheck
+    "CharEncodingCheck": {
+        "IgnoreFiles": []
+    },
+
+    ## options defined ci/Plugin/DependencyCheck
+    "DependencyCheck": {
+        "AcceptableDependencies": [
+            "MdePkg/MdePkg.dec",
+            "MdeModulePkg/MdeModulePkg.dec",
+            "EmbeddedPkg/EmbeddedPkg.dec",
+            "RiscVPkg/RiscVPkg.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": "RiscVPkg.dsc"
+    },
+    ## options defined ci/Plugin/HostUnitTestDscCompleteCheck
+    "HostUnitTestDscCompleteCheck": {},
+
+    ## options defined ci/Plugin/GuidCheck
+    "GuidCheck": {
+        "IgnoreGuidName": [],
+        "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
+        "IgnoreFoldersAndFiles": [],
+        "IgnoreDuplicates": []
+    },
+
+    ## options defined ci/Plugin/LibraryClassCheck
+    "LibraryClassCheck": {
+        "IgnoreHeaderFile": []
+    },
+
+    ## options defined ci/Plugin/SpellCheck
+    "SpellCheck": {
+        "AuditOnly": False,
+        "IgnoreStandardPaths": [     # Standard Plugin defined paths that should be ignore
+            "*.c", "*.h", "*.s", "*.asl", "*.inf"
+        ],
+        "IgnoreFiles": [],
+        "ExtendWords": [],           # words to extend to the dictionary for this package
+        "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
+    }
+}
-- 
2.25.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#55681): https://edk2.groups.io/g/devel/message/55681
Mute This Topic: https://groups.io/mt/71831894/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI.
Posted by Michael D Kinney 5 years, 10 months ago
Abner,

Let's not add the YAML file for a new package until
the content for the new package is added or add the 
YMAL file with the patch series that adds the new package.

Thanks,

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On
> Behalf Of Abner Chang
> Sent: Monday, March 9, 2020 2:53 AM
> To: devel@edk2.groups.io
> Cc: abner.chang@hpe.com; Bret Barkelew
> <Bret.Barkelew@microsoft.com>; Sean Brogan
> <sean.brogan@microsoft.com>; Leif Lindholm
> <leif@nuviainc.com>; Gilbert Chen
> <gilbert.chen@hpe.com>; Daniel Helmut Schaefer
> <daniel.schaefer@hpe.com>
> Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2
> 2/5] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI.
> 
> BZ:2562:
> https://bugzilla.tianocore.org/show_bug.cgi?id=2562
> 
> Add yaml file for EDK2 CI testing on RiscVPkg.
> 
> Signed-off-by: Abner Chang <abner.chang@hpe.com>
> 
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Gilbert Chen <gilbert.chen@hpe.com>
> Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com>
> Signed-off-by: Abner Chang <abner.chang@hpe.com>
> ---
>  RiscVPkg/RiscVPkg.ci.yaml | 68
> +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 68 insertions(+)
>  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..f0aadbb619
> --- /dev/null
> +++ b/RiscVPkg/RiscVPkg.ci.yaml
> @@ -0,0 +1,68 @@
> +## @file
> 
> +# CI configuration for RiscVPkg
> 
> +#
> 
> +# Copyright (c) Microsoft Corporation
> 
> +# Copyright (c) 2020, Hewlett Packard Enterprise
> Development LP. All rights reserved.<BR>
> 
> +# SPDX-License-Identifier: BSD-2-Clause-Patent
> 
> +##
> 
> +{
> 
> +    ## options defined ci/Plugin/CompilerPlugin
> 
> +    "CompilerPlugin": {
> 
> +        "DscPath": "RiscVPkg.dsc"
> 
> +    },
> 
> +    ## options defined
> ci/Plugin/HostUnitTestCompilerPlugin
> 
> +    "HostUnitTestCompilerPlugin": {
> 
> +    },
> 
> +
> 
> +    ## options defined ci/Plugin/CharEncodingCheck
> 
> +    "CharEncodingCheck": {
> 
> +        "IgnoreFiles": []
> 
> +    },
> 
> +
> 
> +    ## options defined ci/Plugin/DependencyCheck
> 
> +    "DependencyCheck": {
> 
> +        "AcceptableDependencies": [
> 
> +            "MdePkg/MdePkg.dec",
> 
> +            "MdeModulePkg/MdeModulePkg.dec",
> 
> +            "EmbeddedPkg/EmbeddedPkg.dec",
> 
> +            "RiscVPkg/RiscVPkg.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": "RiscVPkg.dsc"
> 
> +    },
> 
> +    ## options defined
> ci/Plugin/HostUnitTestDscCompleteCheck
> 
> +    "HostUnitTestDscCompleteCheck": {},
> 
> +
> 
> +    ## options defined ci/Plugin/GuidCheck
> 
> +    "GuidCheck": {
> 
> +        "IgnoreGuidName": [],
> 
> +        "IgnoreGuidValue": ["00000000-0000-0000-0000-
> 000000000000"],
> 
> +        "IgnoreFoldersAndFiles": [],
> 
> +        "IgnoreDuplicates": []
> 
> +    },
> 
> +
> 
> +    ## options defined ci/Plugin/LibraryClassCheck
> 
> +    "LibraryClassCheck": {
> 
> +        "IgnoreHeaderFile": []
> 
> +    },
> 
> +
> 
> +    ## options defined ci/Plugin/SpellCheck
> 
> +    "SpellCheck": {
> 
> +        "AuditOnly": False,
> 
> +        "IgnoreStandardPaths": [     # Standard Plugin
> defined paths that should be ignore
> 
> +            "*.c", "*.h", "*.s", "*.asl", "*.inf"
> 
> +        ],
> 
> +        "IgnoreFiles": [],
> 
> +        "ExtendWords": [],           # words to extend
> to the dictionary for this package
> 
> +        "AdditionalIncludePaths": [] # Additional
> paths to spell check relative to package root
> (wildcards supported)
> 
> +    }
> 
> +}
> 
> --
> 2.25.0
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this
> group.
> 
> View/Reply Online (#55681):
> https://edk2.groups.io/g/devel/message/55681
> Mute This Topic: https://groups.io/mt/71831894/1643496
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [michael.d.kinney@intel.com]
> -=-=-=-=-=-=


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#56039): https://edk2.groups.io/g/devel/message/56039
Mute This Topic: https://groups.io/mt/71831894/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI.
Posted by Abner Chang 5 years, 10 months ago
Yes. agree.

Abner

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Michael D Kinney
> Sent: Friday, March 20, 2020 8:52 AM
> To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist)
> <abner.chang@hpe.com>; Kinney, Michael D <michael.d.kinney@intel.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>; Sean Brogan
> <sean.brogan@microsoft.com>; Leif Lindholm <leif@nuviainc.com>; Chen,
> Gilbert <gilbert.chen@hpe.com>; Schaefer, Daniel (DualStudy)
> <daniel.schaefer@hpe.com>
> Subject: Re: [edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg:
> Add RiscVPkg yaml file for EDK2 CI.
> 
> Abner,
> 
> Let's not add the YAML file for a new package until the content for the new
> package is added or add the YMAL file with the patch series that adds the
> new package.
> 
> Thanks,
> 
> Mike
> 
> > -----Original Message-----
> > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner
> > Chang
> > Sent: Monday, March 9, 2020 2:53 AM
> > To: devel@edk2.groups.io
> > Cc: abner.chang@hpe.com; Bret Barkelew
> <Bret.Barkelew@microsoft.com>;
> > Sean Brogan <sean.brogan@microsoft.com>; Leif Lindholm
> > <leif@nuviainc.com>; Gilbert Chen <gilbert.chen@hpe.com>; Daniel
> > Helmut Schaefer <daniel.schaefer@hpe.com>
> > Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg:
> > Add RiscVPkg yaml file for EDK2 CI.
> >
> > BZ:2562:
> > INVALID URI REMOVED
> > e.org_show-5Fbug.cgi-3Fid-
> 3D2562&d=DwIGaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_
> >
> SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=1ChBkQtDTSLVgy4Zj
> UcZlpq9V
> > suHT2zh-NindjowVOQ&s=oBLDEHvedSS-
> N6OyUz_HlWhXI60YZr704UtBUnpCJkk&e=
> >
> > Add yaml file for EDK2 CI testing on RiscVPkg.
> >
> > Signed-off-by: Abner Chang <abner.chang@hpe.com>
> >
> > Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> > Cc: Sean Brogan <sean.brogan@microsoft.com>
> > Cc: Leif Lindholm <leif@nuviainc.com>
> > Cc: Gilbert Chen <gilbert.chen@hpe.com>
> > Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com>
> > Signed-off-by: Abner Chang <abner.chang@hpe.com>
> > ---
> >  RiscVPkg/RiscVPkg.ci.yaml | 68
> > +++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 68 insertions(+)
> >  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..f0aadbb619
> > --- /dev/null
> > +++ b/RiscVPkg/RiscVPkg.ci.yaml
> > @@ -0,0 +1,68 @@
> > +## @file
> >
> > +# CI configuration for RiscVPkg
> >
> > +#
> >
> > +# Copyright (c) Microsoft Corporation
> >
> > +# Copyright (c) 2020, Hewlett Packard Enterprise
> > Development LP. All rights reserved.<BR>
> >
> > +# SPDX-License-Identifier: BSD-2-Clause-Patent
> >
> > +##
> >
> > +{
> >
> > +    ## options defined ci/Plugin/CompilerPlugin
> >
> > +    "CompilerPlugin": {
> >
> > +        "DscPath": "RiscVPkg.dsc"
> >
> > +    },
> >
> > +    ## options defined
> > ci/Plugin/HostUnitTestCompilerPlugin
> >
> > +    "HostUnitTestCompilerPlugin": {
> >
> > +    },
> >
> > +
> >
> > +    ## options defined ci/Plugin/CharEncodingCheck
> >
> > +    "CharEncodingCheck": {
> >
> > +        "IgnoreFiles": []
> >
> > +    },
> >
> > +
> >
> > +    ## options defined ci/Plugin/DependencyCheck
> >
> > +    "DependencyCheck": {
> >
> > +        "AcceptableDependencies": [
> >
> > +            "MdePkg/MdePkg.dec",
> >
> > +            "MdeModulePkg/MdeModulePkg.dec",
> >
> > +            "EmbeddedPkg/EmbeddedPkg.dec",
> >
> > +            "RiscVPkg/RiscVPkg.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": "RiscVPkg.dsc"
> >
> > +    },
> >
> > +    ## options defined
> > ci/Plugin/HostUnitTestDscCompleteCheck
> >
> > +    "HostUnitTestDscCompleteCheck": {},
> >
> > +
> >
> > +    ## options defined ci/Plugin/GuidCheck
> >
> > +    "GuidCheck": {
> >
> > +        "IgnoreGuidName": [],
> >
> > +        "IgnoreGuidValue": ["00000000-0000-0000-0000-
> > 000000000000"],
> >
> > +        "IgnoreFoldersAndFiles": [],
> >
> > +        "IgnoreDuplicates": []
> >
> > +    },
> >
> > +
> >
> > +    ## options defined ci/Plugin/LibraryClassCheck
> >
> > +    "LibraryClassCheck": {
> >
> > +        "IgnoreHeaderFile": []
> >
> > +    },
> >
> > +
> >
> > +    ## options defined ci/Plugin/SpellCheck
> >
> > +    "SpellCheck": {
> >
> > +        "AuditOnly": False,
> >
> > +        "IgnoreStandardPaths": [     # Standard Plugin
> > defined paths that should be ignore
> >
> > +            "*.c", "*.h", "*.s", "*.asl", "*.inf"
> >
> > +        ],
> >
> > +        "IgnoreFiles": [],
> >
> > +        "ExtendWords": [],           # words to extend
> > to the dictionary for this package
> >
> > +        "AdditionalIncludePaths": [] # Additional
> > paths to spell check relative to package root (wildcards supported)
> >
> > +    }
> >
> > +}
> >
> > --
> > 2.25.0
> >
> >
> > -=-=-=-=-=-=
> > Groups.io Links: You receive all messages sent to this group.
> >
> > View/Reply Online (#55681):
> > INVALID URI REMOVED
> 3A__edk2.groups.io_g_
> >
> devel_message_55681&d=DwIGaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN
> 6FZBN4Vgi4U
> >
> lkskz6qU3NYRO03nHp9P7Z5q59A3E&m=1ChBkQtDTSLVgy4ZjUcZlpq9VsuHT2z
> h-Nindj
> > owVOQ&s=UKK9Wf_mjB3N8IDeq2AuNNyb_-HoelSHRHk_KcAleIk&e=
> > Mute This Topic:
> > INVALID URI REMOVED
> 3A__groups.io_mt_7183
> >
> 1894_1643496&d=DwIGaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4V
> gi4Ulkskz6q
> > U3NYRO03nHp9P7Z5q59A3E&m=1ChBkQtDTSLVgy4ZjUcZlpq9VsuHT2zh-
> NindjowVOQ&s
> > =y6yh8KDT2331Hkt3O6amrQ9uRK3xvNWjAOinpd_stUo&e=
> > Group Owner: devel+owner@edk2.groups.io
> > Unsubscribe:
> > INVALID URI REMOVED
> 3A__edk2.groups.io_g_
> >
> devel_unsub&d=DwIGaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4V
> gi4Ulkskz6qU
> > 3NYRO03nHp9P7Z5q59A3E&m=1ChBkQtDTSLVgy4ZjUcZlpq9VsuHT2zh-
> NindjowVOQ&s=
> > EEmynQm6I5A53ETpRaaO3hODhXyr8wjzzhrtmfPUxUI&e=
> > [michael.d.kinney@intel.com]
> > -=-=-=-=-=-=
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#56076): https://edk2.groups.io/g/devel/message/56076
Mute This Topic: https://groups.io/mt/71831894/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-