MdeModulePkg.ci.yaml 4.1 KB

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