OvmfPkg.ci.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. ## @file
  2. # Core CI configuration for OvmfPkg
  3. #
  4. # OvmfPkg is part of Platform Ci for builds so this is only
  5. # used for code analysis.
  6. #
  7. # Copyright (c) Microsoft Corporation
  8. # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  9. # SPDX-License-Identifier: BSD-2-Clause-Patent
  10. ##
  11. {
  12. ## options defined .pytool/Plugin/LicenseCheck
  13. "LicenseCheck": {
  14. "IgnoreFiles": []
  15. },
  16. "EccCheck": {
  17. ## Exception sample looks like below:
  18. ## "ExceptionList": [
  19. ## "<ErrorID>", "<KeyWord>"
  20. ## ]
  21. "ExceptionList": [
  22. ],
  23. ## Both file path and directory path are accepted.
  24. "IgnoreFiles": [
  25. ],
  26. "skip": True
  27. },
  28. ## options defined .pytool/Plugin/CompilerPlugin
  29. "CompilerPlugin": {
  30. "DscPath": "" # Don't support this test
  31. },
  32. ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
  33. "HostUnitTestCompilerPlugin": {
  34. "DscPath": "" # Don't support this test
  35. },
  36. ## options defined .pytool/Plugin/CharEncodingCheck
  37. "CharEncodingCheck": {
  38. "IgnoreFiles": []
  39. },
  40. ## options defined .pytool/Plugin/DependencyCheck
  41. "DependencyCheck": {
  42. "AcceptableDependencies": [
  43. "CryptoPkg/CryptoPkg.dec",
  44. "MdePkg/MdePkg.dec",
  45. "MdeModulePkg/MdeModulePkg.dec",
  46. "OvmfPkg/OvmfPkg.dec",
  47. "NetworkPkg/NetworkPkg.dec",
  48. "SecurityPkg/SecurityPkg.dec",
  49. "UefiCpuPkg/UefiCpuPkg.dec",
  50. "ShellPkg/ShellPkg.dec",
  51. "EmbeddedPkg/EmbeddedPkg.dec",
  52. "SourceLevelDebugPkg/SourceLevelDebugPkg.dec"
  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 .pytool/Plugin/DscCompleteCheck
  63. "DscCompleteCheck": {
  64. "IgnoreInf": [""],
  65. "DscPath": "" # Don't support this test
  66. },
  67. ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
  68. "HostUnitTestDscCompleteCheck": {
  69. "IgnoreInf": [""],
  70. "DscPath": "" # Don't support this test
  71. },
  72. ## options defined .pytool/Plugin/GuidCheck
  73. "GuidCheck": {
  74. "IgnoreGuidName": ["ResetVector", "XenResetVector"], # Expected duplication for gEfiFirmwareVolumeTopFileGuid
  75. "IgnoreGuidValue": [],
  76. "IgnoreFoldersAndFiles": [],
  77. "IgnoreDuplicates": ["gGrubFileGuid=Grub"],
  78. },
  79. ## options defined .pytool/Plugin/LibraryClassCheck
  80. "LibraryClassCheck": {
  81. "IgnoreHeaderFile": []
  82. },
  83. ## options defined .pytool/Plugin/SpellCheck
  84. "SpellCheck": {
  85. "AuditOnly": True, # Fails right now with over 270 errors
  86. "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
  87. "ExtendWords": [
  88. ], # words to extend to the dictionary for this package
  89. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  90. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  91. },
  92. # options defined in .pytool/Plugin/UncrustifyCheck
  93. "UncrustifyCheck": {
  94. "IgnoreFiles": ["VbeShim.h"]
  95. }
  96. }