SecurityPkg.ci.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. ## @file
  2. # CI configuration for SecurityPkg
  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. },
  12. "EccCheck": {
  13. ## Exception sample looks like below:
  14. ## "ExceptionList": [
  15. ## "<ErrorID>", "<KeyWord>"
  16. ## ]
  17. "ExceptionList": [
  18. "8005", "gRT",
  19. ],
  20. ## Both file path and directory path are accepted.
  21. "IgnoreFiles": [
  22. "Library/TcgStorageCoreLib/TcgStorageUtil.c",
  23. "Library/TcgStorageCoreLib/TcgStorageCore.c",
  24. "Library/Tpm2CommandLib/Tpm2NVStorage.c"
  25. ]
  26. },
  27. "CompilerPlugin": {
  28. "DscPath": "SecurityPkg.dsc"
  29. },
  30. ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
  31. "HostUnitTestCompilerPlugin": {
  32. "DscPath": "Test/SecurityPkgHostTest.dsc"
  33. },
  34. "CharEncodingCheck": {
  35. "IgnoreFiles": []
  36. },
  37. "DependencyCheck": {
  38. "AcceptableDependencies": [
  39. "MdePkg/MdePkg.dec",
  40. "MdeModulePkg/MdeModulePkg.dec",
  41. "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec",
  42. "SecurityPkg/SecurityPkg.dec",
  43. "StandaloneMmPkg/StandaloneMmPkg.dec",
  44. "CryptoPkg/CryptoPkg.dec"
  45. ],
  46. # For host based unit tests
  47. "AcceptableDependencies-HOST_APPLICATION":[],
  48. # For UEFI shell based apps
  49. "AcceptableDependencies-UEFI_APPLICATION":[],
  50. "IgnoreInf": []
  51. },
  52. "DscCompleteCheck": {
  53. "DscPath": "SecurityPkg.dsc",
  54. "IgnoreInf": []
  55. },
  56. ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
  57. "HostUnitTestDscCompleteCheck": {
  58. "IgnoreInf": [""],
  59. "DscPath": "Test/SecurityPkgHostTest.dsc"
  60. },
  61. "GuidCheck": {
  62. "IgnoreGuidName": [],
  63. "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
  64. "IgnoreFoldersAndFiles": [],
  65. "IgnoreDuplicates": [
  66. "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", # by design
  67. ]
  68. },
  69. "LibraryClassCheck": {
  70. "IgnoreHeaderFile": []
  71. },
  72. ## options defined ci/Plugin/SpellCheck
  73. "SpellCheck": {
  74. "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
  75. "ExtendWords": [ # words to extend to the dictionary for this package
  76. "shortformed", # tpm acpi
  77. "autodetect",
  78. "blocksid",
  79. "comid",
  80. "cpinsidpin", #OpalSScV2
  81. "ecdsa", # TPM
  82. "ecschnorr", # TPM
  83. "eisaid", # ACPI
  84. "harddisk",
  85. "hashall",
  86. "hashto",
  87. "kek's",
  88. "lfanew", # PE/COFF
  89. "pcrindex",
  90. "pkglength",
  91. "ppuser",
  92. "preos",
  93. "stclear",
  94. "toctou",
  95. "tpm's",
  96. "tpmcmdbuflength",
  97. "tpmcommlib",
  98. "tpmnvvaluelength",
  99. "wrlocked",
  100. "xored"
  101. ],
  102. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  103. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  104. },
  105. "Defines": {
  106. "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
  107. }
  108. }