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