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