]> git.proxmox.com Git - mirror_edk2.git/blame - RedfishPkg/RedfishPkg.ci.yaml
RedfishPkg/RefishCrtLib: Public RefishCrtLib
[mirror_edk2.git] / RedfishPkg / RedfishPkg.ci.yaml
CommitLineData
c63e1305
AC
1## @file\r
2# CI configuration for NetworkPkg\r
3#\r
4751a48a 4# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>\r
c63e1305
AC
5# SPDX-License-Identifier: BSD-2-Clause-Patent\r
6##\r
7{\r
8 "LicenseCheck": {\r
9 "IgnoreFiles": []\r
10 },\r
11 "EccCheck": {\r
12 ## Exception sample looks like below:\r
13 ## "ExceptionList": [\r
14 ## "<ErrorID>", "<KeyWord>"\r
15 ## ]\r
16 "ExceptionList": [\r
17 ],\r
18 ## Both file path and directory path are accepted.\r
19 "IgnoreFiles": [\r
6e9233f9
AC
20 ## Below are files incorporated with open source which are\r
21 ## not edk2 coding standard compliant.\r
22 ##\r
23 ## EDK2 CRT library which is not edk2 coding\r
24 ## standard compliant.\r
25 ## C runtime library for RedfishPkg modules\r
26 "PrivateInclude/Crt/sys",\r
27 "PrivateInclude/Crt/assert.h",\r
28 "PrivateInclude/Crt/errno.h",\r
29 "PrivateInclude/Crt/limits.h",\r
30 "PrivateInclude/Crt/math.h",\r
31 "PrivateInclude/Crt/stdarg.h",\r
32 "PrivateInclude/Crt/stddef.h",\r
33 "PrivateInclude/Crt/stdio.h",\r
34 "PrivateInclude/Crt/stdlib.h",\r
35 "PrivateInclude/Crt/string.h",\r
36 "PrivateInclude/Crt/time.h",\r
ea830b96 37 "PrivateLibrary/RedfishCrtLib/RedfishCrtLib.c",\r
7311e964 38 "Include/Library/RedfishCrtLib.h",\r
ea830b96
AC
39 ##\r
40 ## For jansson library open source\r
41 ## load.c is overrided from open source.\r
42 "Library/JsonLib/load.c",\r
43 "Library/JsonLib/jansson_config.h",\r
4751a48a
AC
44 "Library/JsonLib/jansson_private_config.h",\r
45 ##\r
46 ## For libredfish open source\r
47 ## The files under edk2libredfish are cloned\r
48 ## from DMTF open source\r
49 "PrivateLibrary/RedfishLib/edk2libredfish/include/redfish.h",\r
50 "PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h",\r
51 "PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h",\r
52 "PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h",\r
53 "PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c",\r
54 "PrivateLibrary/RedfishLib/edk2libredfish/src/redpath.c",\r
55 "PrivateLibrary/RedfishLib/edk2libredfish/src/service.c"\r
c63e1305
AC
56 ]\r
57 },\r
58 "CompilerPlugin": {\r
59 "DscPath": "RedfishPkg.dsc"\r
60 },\r
61 "CharEncodingCheck": {\r
62 "IgnoreFiles": []\r
63 },\r
64 "DependencyCheck": {\r
65 "AcceptableDependencies": [\r
66 "MdePkg/MdePkg.dec",\r
67 "MdeModulePkg/MdeModulePkg.dec",\r
4f808c62
AC
68 "NetworkPkg/NetworkPkg.dec",\r
69 "RedfishPkg/RedfishPkg.dec"\r
c63e1305
AC
70 ],\r
71 # For host based unit tests\r
72 "AcceptableDependencies-HOST_APPLICATION":[],\r
73 # For UEFI shell based apps\r
74 "AcceptableDependencies-UEFI_APPLICATION":[\r
75 "ShellPkg/ShellPkg.dec"\r
76 ],\r
77 "IgnoreInf": []\r
78 },\r
79 "DscCompleteCheck": {\r
80 "DscPath": "RedfishPkg.dsc",\r
81 "IgnoreInf": []\r
82 },\r
83 "GuidCheck": {\r
84 "IgnoreGuidName": [],\r
85 "IgnoreGuidValue": [],\r
86 "IgnoreFoldersAndFiles": []\r
87 },\r
88 "LibraryClassCheck": {\r
89 "IgnoreHeaderFile": []\r
90 },\r
91\r
92 ## options defined ci/Plugin/SpellCheck\r
93 "SpellCheck": {\r
94 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r
95 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files\r
96 "ExtendWords": [], # words to extend to the dictionary for this package\r
97 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
98 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
99 },\r
100\r
101 "Defines": {\r
b470520d
AC
102 "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",\r
103 "BLD_*_REDFISH_ENABLE": "TRUE"\r
c63e1305
AC
104 }\r
105}\r