CryptoPkg.ci.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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/IA32",
  13. "Library/OpensslLib/IA32Gcc",
  14. "Library/OpensslLib/X64",
  15. "Library/OpensslLib/X64Gcc",
  16. "Library/Include/openssl"
  17. ]
  18. },
  19. "EccCheck": {
  20. ## Exception sample looks like below:
  21. ## "ExceptionList": [
  22. ## "<ErrorID>", "<KeyWord>"
  23. ## ]
  24. "ExceptionList": [
  25. "8001", "IsLeap",
  26. "8001", "OBJ_get0_data",
  27. "8001", "OBJ_length",
  28. "5005", "X509PopCertificate"
  29. ],
  30. ## Both file path and directory path are accepted.
  31. "IgnoreFiles": [
  32. "Library/OpensslLib/openssl",
  33. "Library/Include/openssl",
  34. "Library/Include/crypto",
  35. # The unit testing folder is not to be checked
  36. "Test/UnitTest",
  37. # This has OpenSSL interfaces that aren't UEFI spec compliant
  38. "Library/BaseCryptLib/SysCall",
  39. # This has OpenSSL interfaces that aren't UEFI spec compliant
  40. "Library/OpensslLib/rand_pool.c",
  41. # This has OpenSSL interfaces that aren't UEFI spec compliant
  42. "Library/Include/CrtLibSupport.h",
  43. # This has OpenSSL interfaces that aren't UEFI spec compliant
  44. "Library/BaseCryptLib/Hash/CryptParallelHash.h",
  45. "Library/Include/fcntl.h",
  46. # These directories contain auto-generated OpenSSL content
  47. "Library/OpensslLib",
  48. "Library/IntrinsicLib",
  49. "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"
  50. ]
  51. },
  52. "CompilerPlugin": {
  53. "DscPath": "CryptoPkg.dsc"
  54. },
  55. ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
  56. "HostUnitTestCompilerPlugin": {
  57. "DscPath": "Test/CryptoPkgHostUnitTest.dsc"
  58. },
  59. "CharEncodingCheck": {
  60. "IgnoreFiles": []
  61. },
  62. "DependencyCheck": {
  63. "AcceptableDependencies": [
  64. "MdePkg/MdePkg.dec",
  65. "MdeModulePkg/MdeModulePkg.dec",
  66. "CryptoPkg/CryptoPkg.dec",
  67. ],
  68. # For host based unit tests
  69. "AcceptableDependencies-HOST_APPLICATION":[],
  70. # For UEFI shell based apps
  71. "AcceptableDependencies-UEFI_APPLICATION":[],
  72. "IgnoreInf": []
  73. },
  74. "DscCompleteCheck": {
  75. "DscPath": "CryptoPkg.dsc",
  76. "IgnoreInf": []
  77. },
  78. "GuidCheck": {
  79. "IgnoreGuidName": [],
  80. "IgnoreGuidValue": [],
  81. "IgnoreFoldersAndFiles": []
  82. },
  83. "LibraryClassCheck": {
  84. "IgnoreHeaderFile": []
  85. },
  86. ## options defined ci/Plugin/SpellCheck
  87. "SpellCheck": {
  88. "skip": True,
  89. "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
  90. "ExtendWords": [], # words to extend to the dictionary for this package
  91. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  92. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  93. },
  94. # options defined in .pytool/Plugin/UncrustifyCheck
  95. "UncrustifyCheck": {
  96. "IgnoreFiles": [
  97. "opensslconf.h",
  98. "dso_conf.h",
  99. "opensslconf_generated.h"
  100. ]
  101. }
  102. }