2019-10-28 21:19:09 +01:00
|
|
|
## @file
|
|
|
|
# CI configuration for CryptoPkg
|
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation
|
2022-03-18 05:22:09 +01:00
|
|
|
# Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>
|
2019-10-28 21:19:09 +01:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
##
|
|
|
|
{
|
2020-07-17 09:01:19 +02:00
|
|
|
"LicenseCheck": {
|
2021-07-21 00:06:45 +02:00
|
|
|
"IgnoreFiles": [
|
|
|
|
# These directories contain auto-generated OpenSSL content
|
2022-09-21 22:25:39 +02:00
|
|
|
"Library/OpensslLib/IA32",
|
|
|
|
"Library/OpensslLib/IA32Gcc",
|
2021-07-21 00:06:45 +02:00
|
|
|
"Library/OpensslLib/X64",
|
2022-05-10 09:19:07 +02:00
|
|
|
"Library/OpensslLib/X64Gcc",
|
|
|
|
"Library/Include/openssl"
|
2021-07-21 00:06:45 +02:00
|
|
|
]
|
2020-07-17 09:01:19 +02:00
|
|
|
},
|
2020-06-10 07:52:22 +02:00
|
|
|
"EccCheck": {
|
|
|
|
## Exception sample looks like below:
|
|
|
|
## "ExceptionList": [
|
|
|
|
## "<ErrorID>", "<KeyWord>"
|
|
|
|
## ]
|
|
|
|
"ExceptionList": [
|
2021-11-23 21:58:22 +01:00
|
|
|
"8001", "IsLeap",
|
|
|
|
"8001", "OBJ_get0_data",
|
2022-10-04 05:45:20 +02:00
|
|
|
"8001", "OBJ_length",
|
|
|
|
"5005", "X509PopCertificate"
|
2020-06-10 07:52:22 +02:00
|
|
|
],
|
|
|
|
## Both file path and directory path are accepted.
|
|
|
|
"IgnoreFiles": [
|
2020-07-23 23:59:23 +02:00
|
|
|
"Library/OpensslLib/openssl",
|
2022-05-10 09:19:07 +02:00
|
|
|
"Library/Include/openssl",
|
|
|
|
"Library/Include/crypto",
|
2020-10-09 00:37:46 +02:00
|
|
|
# The unit testing folder is not to be checked
|
|
|
|
"Test/UnitTest",
|
|
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
2021-11-23 21:58:22 +01:00
|
|
|
"Library/BaseCryptLib/SysCall",
|
2021-07-21 00:06:45 +02:00
|
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
|
|
|
"Library/OpensslLib/rand_pool.c",
|
|
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
|
|
|
"Library/Include/CrtLibSupport.h",
|
2022-03-18 05:22:09 +01:00
|
|
|
# This has OpenSSL interfaces that aren't UEFI spec compliant
|
|
|
|
"Library/BaseCryptLib/Hash/CryptParallelHash.h",
|
2022-04-11 13:24:50 +02:00
|
|
|
"Library/Include/fcntl.h",
|
2021-07-21 00:06:45 +02:00
|
|
|
# These directories contain auto-generated OpenSSL content
|
2021-11-23 21:58:22 +01:00
|
|
|
"Library/OpensslLib",
|
|
|
|
"Library/IntrinsicLib",
|
|
|
|
"Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"
|
2020-06-10 07:52:22 +02:00
|
|
|
]
|
|
|
|
},
|
2019-10-28 21:19:09 +01:00
|
|
|
"CompilerPlugin": {
|
|
|
|
"DscPath": "CryptoPkg.dsc"
|
|
|
|
},
|
2020-10-09 00:37:46 +02:00
|
|
|
## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
|
|
|
|
"HostUnitTestCompilerPlugin": {
|
|
|
|
"DscPath": "Test/CryptoPkgHostUnitTest.dsc"
|
|
|
|
},
|
2019-10-28 21:19:09 +01:00
|
|
|
"CharEncodingCheck": {
|
|
|
|
"IgnoreFiles": []
|
|
|
|
},
|
|
|
|
"DependencyCheck": {
|
|
|
|
"AcceptableDependencies": [
|
|
|
|
"MdePkg/MdePkg.dec",
|
|
|
|
"MdeModulePkg/MdeModulePkg.dec",
|
|
|
|
"CryptoPkg/CryptoPkg.dec",
|
|
|
|
],
|
|
|
|
# For host based unit tests
|
|
|
|
"AcceptableDependencies-HOST_APPLICATION":[],
|
|
|
|
# For UEFI shell based apps
|
|
|
|
"AcceptableDependencies-UEFI_APPLICATION":[],
|
|
|
|
"IgnoreInf": []
|
|
|
|
},
|
|
|
|
"DscCompleteCheck": {
|
|
|
|
"DscPath": "CryptoPkg.dsc",
|
2022-09-24 22:40:26 +02:00
|
|
|
"IgnoreInf": []
|
2019-10-28 21:19:09 +01:00
|
|
|
},
|
|
|
|
"GuidCheck": {
|
|
|
|
"IgnoreGuidName": [],
|
|
|
|
"IgnoreGuidValue": [],
|
|
|
|
"IgnoreFoldersAndFiles": []
|
|
|
|
},
|
|
|
|
"LibraryClassCheck": {
|
|
|
|
"IgnoreHeaderFile": []
|
|
|
|
},
|
|
|
|
|
|
|
|
## options defined ci/Plugin/SpellCheck
|
|
|
|
"SpellCheck": {
|
|
|
|
"skip": True,
|
|
|
|
"IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
|
|
|
|
"ExtendWords": [], # words to extend to the dictionary for this package
|
|
|
|
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
|
|
|
|
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
|
2022-05-10 09:19:07 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
# options defined in .pytool/Plugin/UncrustifyCheck
|
|
|
|
"UncrustifyCheck": {
|
|
|
|
"IgnoreFiles": [
|
|
|
|
"opensslconf.h",
|
|
|
|
"dso_conf.h",
|
|
|
|
"opensslconf_generated.h"
|
|
|
|
]
|
2019-10-28 21:19:09 +01:00
|
|
|
}
|
|
|
|
}
|