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