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