]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/UefiCpuPkg.ci.yaml
UefiCpuPkg/UefiCpuPkg.ci.yaml: Add configuration for Ecc check
[mirror_edk2.git] / UefiCpuPkg / UefiCpuPkg.ci.yaml
1 ## @file
2 # CI configuration for UefiCpuPkg
3 #
4 # Copyright (c) Microsoft Corporation
5 # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 ##
8 {
9 "LicenseCheck": {
10 "IgnoreFiles": []
11 },
12 "EccCheck": {
13 ## Exception sample looks like below:
14 ## "ExceptionList": [
15 ## "<ErrorID>", "<KeyWord>"
16 ## ]
17 "ExceptionList": [
18 ],
19 ## Both file path and directory path are accepted.
20 "IgnoreFiles": [
21 ]
22 },
23 "CompilerPlugin": {
24 "DscPath": "UefiCpuPkg.dsc"
25 },
26 ## options defined ci/Plugin/HostUnitTestCompilerPlugin
27 "HostUnitTestCompilerPlugin": {
28 "DscPath": "Test/UefiCpuPkgHostTest.dsc"
29 },
30 "CharEncodingCheck": {
31 "IgnoreFiles": []
32 },
33 "DependencyCheck": {
34 "AcceptableDependencies": [
35 "MdePkg/MdePkg.dec",
36 "MdeModulePkg/MdeModulePkg.dec",
37 "UefiCpuPkg/UefiCpuPkg.dec"
38 ],
39 # For host based unit tests
40 "AcceptableDependencies-HOST_APPLICATION":[
41 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
42 ],
43 # For UEFI shell based apps
44 "AcceptableDependencies-UEFI_APPLICATION":[],
45 "IgnoreInf": []
46 },
47 "DscCompleteCheck": {
48 "DscPath": "UefiCpuPkg.dsc",
49 "IgnoreInf": [
50 "UefiCpuPkg/ResetVector/FixupVtf/Vtf.inf",
51 "UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf"
52 ]
53 },
54 "HostUnitTestDscCompleteCheck": {
55 "IgnoreInf": [""],
56 "DscPath": "Test/UefiCpuPkgHostTest.dsc"
57 },
58 "GuidCheck": {
59 "IgnoreGuidName": ["SecCore", "ResetVector"], # Expected duplication for gEfiFirmwareVolumeTopFileGuid
60 "IgnoreGuidValue": [],
61 "IgnoreFoldersAndFiles": [],
62 "IgnoreDuplicates": []
63 },
64 "LibraryClassCheck": {
65 "IgnoreHeaderFile": []
66 },
67
68 ## options defined ci/Plugin/SpellCheck
69 "SpellCheck": {
70 "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
71 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
72 "ExtendWords": [], # words to extend to the dictionary for this package
73 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
74 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
75 }
76 }