]> git.proxmox.com Git - mirror_edk2.git/blame - RedfishPkg/RedfishPkg.ci.yaml
RedfishPkg/library: EDK2 port of jansson library
[mirror_edk2.git] / RedfishPkg / RedfishPkg.ci.yaml
CommitLineData
c63e1305
AC
1## @file\r
2# CI configuration for NetworkPkg\r
3#\r
4# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
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
37 "PrivateInclude/Library/RedfishCrtLib.h",\r
ea830b96
AC
38 "PrivateLibrary/RedfishCrtLib/RedfishCrtLib.c",\r
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
44 "Library/JsonLib/jansson_private_config.h"\r
c63e1305
AC
45 ]\r
46 },\r
47 "CompilerPlugin": {\r
48 "DscPath": "RedfishPkg.dsc"\r
49 },\r
50 "CharEncodingCheck": {\r
51 "IgnoreFiles": []\r
52 },\r
53 "DependencyCheck": {\r
54 "AcceptableDependencies": [\r
55 "MdePkg/MdePkg.dec",\r
56 "MdeModulePkg/MdeModulePkg.dec",\r
4f808c62
AC
57 "NetworkPkg/NetworkPkg.dec",\r
58 "RedfishPkg/RedfishPkg.dec"\r
c63e1305
AC
59 ],\r
60 # For host based unit tests\r
61 "AcceptableDependencies-HOST_APPLICATION":[],\r
62 # For UEFI shell based apps\r
63 "AcceptableDependencies-UEFI_APPLICATION":[\r
64 "ShellPkg/ShellPkg.dec"\r
65 ],\r
66 "IgnoreInf": []\r
67 },\r
68 "DscCompleteCheck": {\r
69 "DscPath": "RedfishPkg.dsc",\r
70 "IgnoreInf": []\r
71 },\r
72 "GuidCheck": {\r
73 "IgnoreGuidName": [],\r
74 "IgnoreGuidValue": [],\r
75 "IgnoreFoldersAndFiles": []\r
76 },\r
77 "LibraryClassCheck": {\r
78 "IgnoreHeaderFile": []\r
79 },\r
80\r
81 ## options defined ci/Plugin/SpellCheck\r
82 "SpellCheck": {\r
83 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r
84 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files\r
85 "ExtendWords": [], # words to extend to the dictionary for this package\r
86 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
87 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
88 },\r
89\r
90 "Defines": {\r
b470520d
AC
91 "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",\r
92 "BLD_*_REDFISH_ENABLE": "TRUE"\r
c63e1305
AC
93 }\r
94}\r