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