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