MdeModulePkg.ci.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. ## @file
  2. # CI configuration for MdeModulePkg
  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. ## options defined .pytool/Plugin/LicenseCheck
  10. "LicenseCheck": {
  11. "IgnoreFiles": []
  12. },
  13. "EccCheck": {
  14. ## Exception sample looks like below:
  15. ## "ExceptionList": [
  16. ## "<ErrorID>", "<KeyWord>"
  17. ## ]
  18. "ExceptionList": [
  19. ],
  20. ## Both file path and directory path are accepted.
  21. "IgnoreFiles": [
  22. "Library/BrotliCustomDecompressLib/brotli",
  23. "Universal/RegularExpressionDxe/oniguruma",
  24. "Library/LzmaCustomDecompressLib/Sdk/DOC",
  25. "Library/LzmaCustomDecompressLib/Sdk/C"
  26. ]
  27. },
  28. ## options defined ci/Plugin/CompilerPlugin
  29. "CompilerPlugin": {
  30. "DscPath": "MdeModulePkg.dsc"
  31. },
  32. ## options defined ci/Plugin/HostUnitTestCompilerPlugin
  33. "HostUnitTestCompilerPlugin": {
  34. "DscPath": "Test/MdeModulePkgHostTest.dsc"
  35. },
  36. ## options defined ci/Plugin/CharEncodingCheck
  37. "CharEncodingCheck": {
  38. "IgnoreFiles": [
  39. "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c",
  40. "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c"
  41. ]
  42. },
  43. ## options defined ci/Plugin/DependencyCheck
  44. "DependencyCheck": {
  45. "AcceptableDependencies": [
  46. "MdePkg/MdePkg.dec",
  47. "MdeModulePkg/MdeModulePkg.dec",
  48. "StandaloneMmPkg/StandaloneMmPkg.dec",
  49. "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction
  50. ],
  51. # For host based unit tests
  52. "AcceptableDependencies-HOST_APPLICATION":[
  53. "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
  54. ],
  55. # For UEFI shell based apps
  56. "AcceptableDependencies-UEFI_APPLICATION":[],
  57. "IgnoreInf": []
  58. },
  59. ## options defined ci/Plugin/DscCompleteCheck
  60. "DscCompleteCheck": {
  61. "IgnoreInf": [],
  62. "DscPath": "MdeModulePkg.dsc"
  63. },
  64. ## options defined ci/Plugin/HostUnitTestDscCompleteCheck
  65. "HostUnitTestDscCompleteCheck": {
  66. "IgnoreInf": [""],
  67. "DscPath": "Test/MdeModulePkgHostTest.dsc"
  68. },
  69. ## options defined ci/Plugin/GuidCheck
  70. "GuidCheck": {
  71. "IgnoreGuidName": [],
  72. "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
  73. "IgnoreFoldersAndFiles": [],
  74. "IgnoreDuplicates": [
  75. "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",
  76. "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",
  77. ]
  78. },
  79. ## options defined ci/Plugin/LibraryClassCheck
  80. "LibraryClassCheck": {
  81. "IgnoreHeaderFile": []
  82. },
  83. ## options defined ci/Plugin/SpellCheck
  84. "SpellCheck": {
  85. "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
  86. "IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
  87. "*.c", "*.asm", "*.h", "*.nasm", "*.s", "*.asl", "*.inf"
  88. ],
  89. "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
  90. "Library/LzmaCustomDecompressLib/Sdk/DOC/*"
  91. ],
  92. "ExtendWords": [ # words to extend to the dictionary for this package
  93. "LIGHTGRAY",
  94. "DARKGRAY",
  95. "LIGHTBLUE",
  96. "LIGHTGREEN",
  97. "LIGHTCYAN",
  98. "LIGHTRED",
  99. "LIGHTMAGENTA",
  100. "FVMAIN",
  101. "VARCHECKPCD",
  102. "Getxx",
  103. "lzturbo",
  104. "musthave",
  105. "canthave"
  106. ],
  107. "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
  108. }
  109. }