]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/CryptoPkg.ci.yaml
Maintainers.txt: Update email address
[mirror_edk2.git] / CryptoPkg / CryptoPkg.ci.yaml
CommitLineData
f98a4454
MK
1## @file\r
2# CI configuration for CryptoPkg\r
3#\r
4# Copyright (c) Microsoft Corporation\r
c1e66210 5# Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>\r
f98a4454
MK
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7##\r
8{\r
fdb05637 9 "LicenseCheck": {\r
878a92a8
CZ
10 "IgnoreFiles": [\r
11 # These directories contain auto-generated OpenSSL content\r
12 "Library/OpensslLib/X64",\r
9dd964f5
YL
13 "Library/OpensslLib/X64Gcc",\r
14 "Library/Include/openssl"\r
878a92a8 15 ]\r
fdb05637 16 },\r
5a677bbc
SZ
17 "EccCheck": {\r
18 ## Exception sample looks like below:\r
19 ## "ExceptionList": [\r
20 ## "<ErrorID>", "<KeyWord>"\r
21 ## ]\r
22 "ExceptionList": [\r
d5744ecb
MK
23 "8001", "IsLeap",\r
24 "8001", "OBJ_get0_data",\r
25 "8001", "OBJ_length"\r
5a677bbc
SZ
26 ],\r
27 ## Both file path and directory path are accepted.\r
28 "IgnoreFiles": [\r
b5701a4c 29 "Library/OpensslLib/openssl",\r
9dd964f5
YL
30 "Library/Include/openssl",\r
31 "Library/Include/crypto",\r
694bfd6f
MC
32 # The unit testing folder is not to be checked\r
33 "Test/UnitTest",\r
34 # This has OpenSSL interfaces that aren't UEFI spec compliant\r
d5744ecb 35 "Library/BaseCryptLib/SysCall",\r
878a92a8
CZ
36 # This has OpenSSL interfaces that aren't UEFI spec compliant\r
37 "Library/OpensslLib/rand_pool.c",\r
38 # This has OpenSSL interfaces that aren't UEFI spec compliant\r
39 "Library/Include/CrtLibSupport.h",\r
c1e66210
ZL
40 # This has OpenSSL interfaces that aren't UEFI spec compliant\r
41 "Library/BaseCryptLib/Hash/CryptParallelHash.h",\r
4352d115 42 "Library/Include/fcntl.h",\r
878a92a8 43 # These directories contain auto-generated OpenSSL content\r
d5744ecb
MK
44 "Library/OpensslLib",\r
45 "Library/IntrinsicLib",\r
46 "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"\r
5a677bbc
SZ
47 ]\r
48 },\r
f98a4454
MK
49 "CompilerPlugin": {\r
50 "DscPath": "CryptoPkg.dsc"\r
51 },\r
694bfd6f
MC
52 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin\r
53 "HostUnitTestCompilerPlugin": {\r
54 "DscPath": "Test/CryptoPkgHostUnitTest.dsc"\r
55 },\r
f98a4454
MK
56 "CharEncodingCheck": {\r
57 "IgnoreFiles": []\r
58 },\r
59 "DependencyCheck": {\r
60 "AcceptableDependencies": [\r
61 "MdePkg/MdePkg.dec",\r
62 "MdeModulePkg/MdeModulePkg.dec",\r
63 "CryptoPkg/CryptoPkg.dec",\r
64 ],\r
65 # For host based unit tests\r
66 "AcceptableDependencies-HOST_APPLICATION":[],\r
67 # For UEFI shell based apps\r
68 "AcceptableDependencies-UEFI_APPLICATION":[],\r
69 "IgnoreInf": []\r
70 },\r
71 "DscCompleteCheck": {\r
72 "DscPath": "CryptoPkg.dsc",\r
878a92a8
CZ
73 "IgnoreInf": [\r
74 # These are alternatives to OpensslLib.inf\r
75 "CryptoPkg/Library/OpensslLib/OpensslLibX64.inf",\r
76 "CryptoPkg/Library/OpensslLib/OpensslLibX64Gcc.inf"\r
77 ]\r
f98a4454
MK
78 },\r
79 "GuidCheck": {\r
80 "IgnoreGuidName": [],\r
81 "IgnoreGuidValue": [],\r
82 "IgnoreFoldersAndFiles": []\r
83 },\r
84 "LibraryClassCheck": {\r
85 "IgnoreHeaderFile": []\r
86 },\r
87\r
88 ## options defined ci/Plugin/SpellCheck\r
89 "SpellCheck": {\r
90 "skip": True,\r
91 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files\r
92 "ExtendWords": [], # words to extend to the dictionary for this package\r
93 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
94 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
9dd964f5
YL
95 },\r
96\r
97 # options defined in .pytool/Plugin/UncrustifyCheck\r
98 "UncrustifyCheck": {\r
99 "IgnoreFiles": [\r
100 "opensslconf.h",\r
101 "dso_conf.h",\r
102 "opensslconf_generated.h"\r
103 ]\r
f98a4454
MK
104 }\r
105}\r