]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/ArmVirtPkg.ci.yaml
ArmVirtPkg: Update YAML to ignore specific ECC files/errors
[mirror_edk2.git] / ArmVirtPkg / ArmVirtPkg.ci.yaml
1 ## @file
2 # Core CI configuration for ArmVirtPkg
3 #
4 # ArmVirtPkg 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 # Copyright (c) 2020, ARM Limited. All rights reserved.
10 #
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 ##
13 {
14 ## options defined .pytool/Plugin/LicenseCheck
15 "LicenseCheck": {
16 "IgnoreFiles": []
17 },
18 "EccCheck": {
19 ## Exception sample looks like below:
20 ## "ExceptionList": [
21 ## "<ErrorID>", "<KeyWord>"
22 ## ]
23 "ExceptionList": [
24 ],
25 ## Both file path and directory path are accepted.
26 "IgnoreFiles": [
27 "Library/PlatformBootManagerLib/PlatformBm.c"
28 ]
29 },
30 ## options defined .pytool/Plugin/CompilerPlugin
31 "CompilerPlugin": {
32 "DscPath": "" # Don't support this test
33 },
34
35 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
36 "HostUnitTestCompilerPlugin": {
37 "DscPath": "" # Don't support this test
38 },
39
40 ## options defined .pytool/Plugin/CharEncodingCheck
41 "CharEncodingCheck": {
42 "IgnoreFiles": []
43 },
44
45 ## options defined .pytool/Plugin/DependencyCheck
46 "DependencyCheck": {
47 "AcceptableDependencies": [
48 "MdePkg/MdePkg.dec",
49 "MdeModulePkg/MdeModulePkg.dec",
50 "ArmVirtPkg/ArmVirtPkg.dec",
51 "NetworkPkg/NetworkPkg.dec",
52 "ArmPkg/ArmPkg.dec",
53 "OvmfPkg/OvmfPkg.dec",
54 "EmbeddedPkg/EmbeddedPkg.dec",
55 "ArmPlatformPkg/ArmPlatformPkg.dec",
56 "PcAtChipsetPkg/PcAtChipsetPkg.dec",
57 "SecurityPkg/SecurityPkg.dec",
58 "ShellPkg/ShellPkg.dec" #Is this ok?
59 ],
60 # For host based unit tests
61 "AcceptableDependencies-HOST_APPLICATION":[
62 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
63 ],
64 # For UEFI shell based apps
65 "AcceptableDependencies-UEFI_APPLICATION":[
66
67 ],
68 "IgnoreInf": []
69 },
70
71 ## options defined .pytool/Plugin/DscCompleteCheck
72 "DscCompleteCheck": {
73 "IgnoreInf": [""],
74 "DscPath": "" # Don't support this test
75 },
76
77 ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
78 "HostUnitTestDscCompleteCheck": {
79 "IgnoreInf": [""],
80 "DscPath": "" # Don't support this test
81 },
82
83 ## options defined .pytool/Plugin/GuidCheck
84 "GuidCheck": {
85 "IgnoreGuidName": [],
86 "IgnoreGuidValue": [],
87 "IgnoreFoldersAndFiles": [],
88 "IgnoreDuplicates": [],
89 },
90
91 ## options defined .pytool/Plugin/LibraryClassCheck
92 "LibraryClassCheck": {
93 "IgnoreHeaderFile": []
94 },
95
96 ## options defined .pytool/Plugin/SpellCheck
97 "SpellCheck": {
98 "AuditOnly": False, # Fails right now with over 270 errors
99 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
100 "ExtendWords": [
101 "setjump",
102 "plong",
103 "lparam",
104 "lpdword",
105 "lpthread",
106 "lresult",
107 "bootable",
108 "bsymbolic",
109 "endiannness",
110 "fvmain",
111 "multiboot",
112 "qemu's",
113 "ramdisk",
114 "ramfb",
115 "unbootable",
116 "virt's",
117 "werror",
118 "xenio",
119 "kvmtool",
120 "cloudhv"
121 ], # words to extend to the dictionary for this package
122 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
123 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
124 }
125 }