]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/CryptoPkg.ci.yaml
MdePkg/Include: Smbios Specification 3.5.0 changes
[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
5a677bbc 5# Copyright (c) 2020, 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
37 # These directories contain auto-generated OpenSSL content\r
d5744ecb
MK
38 "Library/OpensslLib",\r
39 "Library/IntrinsicLib",\r
40 "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"\r
5a677bbc
SZ
41 ]\r
42 },\r
f98a4454
MK
43 "CompilerPlugin": {\r
44 "DscPath": "CryptoPkg.dsc"\r
45 },\r
694bfd6f
MC
46 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin\r
47 "HostUnitTestCompilerPlugin": {\r
48 "DscPath": "Test/CryptoPkgHostUnitTest.dsc"\r
49 },\r
f98a4454
MK
50 "CharEncodingCheck": {\r
51 "IgnoreFiles": []\r
52 },\r
53 "DependencyCheck": {\r
54 "AcceptableDependencies": [\r
55 "MdePkg/MdePkg.dec",\r
56 "MdeModulePkg/MdeModulePkg.dec",\r
57 "CryptoPkg/CryptoPkg.dec",\r
58 ],\r
59 # For host based unit tests\r
60 "AcceptableDependencies-HOST_APPLICATION":[],\r
61 # For UEFI shell based apps\r
62 "AcceptableDependencies-UEFI_APPLICATION":[],\r
63 "IgnoreInf": []\r
64 },\r
65 "DscCompleteCheck": {\r
66 "DscPath": "CryptoPkg.dsc",\r
878a92a8
CZ
67 "IgnoreInf": [\r
68 # These are alternatives to OpensslLib.inf\r
69 "CryptoPkg/Library/OpensslLib/OpensslLibX64.inf",\r
70 "CryptoPkg/Library/OpensslLib/OpensslLibX64Gcc.inf"\r
71 ]\r
f98a4454
MK
72 },\r
73 "GuidCheck": {\r
74 "IgnoreGuidName": [],\r
75 "IgnoreGuidValue": [],\r
76 "IgnoreFoldersAndFiles": []\r
77 },\r
78 "LibraryClassCheck": {\r
79 "IgnoreHeaderFile": []\r
80 },\r
81\r
82 ## options defined ci/Plugin/SpellCheck\r
83 "SpellCheck": {\r
84 "skip": True,\r
85 "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files\r
86 "ExtendWords": [], # words to extend to the dictionary for this package\r
87 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
88 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
89 }\r
90}\r