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