]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/EmulatorPkg.ci.yaml
EmulatorPkg/EmulatorPkg.ci.yaml: Add configuration for Ecc check
[mirror_edk2.git] / EmulatorPkg / EmulatorPkg.ci.yaml
1 ## @file
2 # Core CI configuration for EmulatorPkg
3 #
4 # EmulatorPkg is part of Platform Ci for builds so this is only
5 # used for code analysis.
6 #
7 # Copyright (c) Microsoft Corporation
8 # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 ##
11 {
12 ## options defined .pytool/Plugin/LicenseCheck
13 "LicenseCheck": {
14 "IgnoreFiles": []
15 },
16 "EccCheck": {
17 ## Exception sample looks like below:
18 ## "ExceptionList": [
19 ## "<ErrorID>", "<KeyWord>"
20 ## ]
21 "ExceptionList": [
22 ],
23 ## Both file path and directory path are accepted.
24 "IgnoreFiles": [
25 ]
26 },
27 ## options defined .pytool/Plugin/CompilerPlugin
28 "CompilerPlugin": {
29 "DscPath": "" # Don't support this test
30 },
31
32 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
33 "HostUnitTestCompilerPlugin": {
34 "DscPath": "" # Don't support this test
35 },
36
37 ## options defined .pytool/Plugin/CharEncodingCheck
38 "CharEncodingCheck": {
39 "IgnoreFiles": []
40 },
41
42 ## options defined .pytool/Plugin/DependencyCheck
43 "DependencyCheck": {
44 "AcceptableDependencies": [
45 # For this platform all packages are allowed???
46 "MdePkg/MdePkg.dec",
47 "MdeModulePkg/MdeModulePkg.dec",
48 "EmulatorPkg/EmulatorPkg.dec",
49 "NetworkPkg/NetworkPkg.dec",
50 "EmbeddedPkg/EmbeddedPkg.dec", ## is this one OK??
51 ],
52 # For host based unit tests
53 "AcceptableDependencies-HOST_APPLICATION":[
54 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
55 ],
56 # For UEFI shell based apps
57 "AcceptableDependencies-UEFI_APPLICATION":[],
58 "IgnoreInf": []
59 },
60
61 ## options defined .pytool/Plugin/DscCompleteCheck
62 "DscCompleteCheck": {
63 "IgnoreInf": [""],
64 "DscPath": "" # Don't support this test
65 },
66
67 ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
68 "HostUnitTestDscCompleteCheck": {
69 "IgnoreInf": [""],
70 "DscPath": "" # Don't support this test
71 },
72
73 ## options defined .pytool/Plugin/GuidCheck
74 "GuidCheck": {
75 "IgnoreGuidName": [],
76 "IgnoreGuidValue": [],
77 "IgnoreFoldersAndFiles": [],
78 "IgnoreDuplicates": [],
79 },
80
81 ## options defined .pytool/Plugin/LibraryClassCheck
82 "LibraryClassCheck": {
83 "IgnoreHeaderFile": []
84 },
85
86 ## options defined .pytool/Plugin/SpellCheck
87 "SpellCheck": {
88 "AuditOnly": True, # Fails right now with over 270 errors
89 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
90 "ExtendWords": [
91 "setjump",
92 "plong",
93 "lparam",
94 "lpdword",
95 "lpthread",
96 "lresult",
97 ], # words to extend to the dictionary for this package
98 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
99 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
100 }
101 }