EmulatorPkg.ci.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ## @file
  2. # Core CI configuration for EmulatorPkg
  3. #
  4. # EmulatorPkg 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 - 2022, 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. "EmuBlockIoDxe/EmuBlockIo.c",
  26. "EmuGopDxe/GopInput.c",
  27. "EmuSnpDxe/EmuSnpDxe.c",
  28. "EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c",
  29. "FvbServicesRuntimeDxe/FWBlockService.c",
  30. "Win/Host/WinFileSystem.c",
  31. "Win/Host/WinInclude.h"
  32. ]
  33. },
  34. ## options defined .pytool/Plugin/CompilerPlugin
  35. "CompilerPlugin": {
  36. "DscPath": "" # Don't support this test
  37. },
  38. ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
  39. "HostUnitTestCompilerPlugin": {
  40. "DscPath": "" # Don't support this test
  41. },
  42. ## options defined .pytool/Plugin/CharEncodingCheck
  43. "CharEncodingCheck": {
  44. "IgnoreFiles": []
  45. },
  46. ## options defined .pytool/Plugin/DependencyCheck
  47. "DependencyCheck": {
  48. "AcceptableDependencies": [
  49. # For this platform all packages are allowed???
  50. "MdePkg/MdePkg.dec",
  51. "MdeModulePkg/MdeModulePkg.dec",
  52. "EmulatorPkg/EmulatorPkg.dec",
  53. "NetworkPkg/NetworkPkg.dec",
  54. "RedfishPkg/RedfishPkg.dec",
  55. ],
  56. # For host based unit tests
  57. "AcceptableDependencies-HOST_APPLICATION":[
  58. "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
  59. ],
  60. # For UEFI shell based apps
  61. "AcceptableDependencies-UEFI_APPLICATION":[],
  62. "IgnoreInf": []
  63. },
  64. ## options defined .pytool/Plugin/DscCompleteCheck
  65. "DscCompleteCheck": {
  66. "IgnoreInf": [""],
  67. "DscPath": "" # Don't support this test
  68. },
  69. ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
  70. "HostUnitTestDscCompleteCheck": {
  71. "IgnoreInf": [""],
  72. "DscPath": "" # Don't support this test
  73. },
  74. ## options defined .pytool/Plugin/GuidCheck
  75. "GuidCheck": {
  76. "IgnoreGuidName": [],
  77. "IgnoreGuidValue": [],
  78. "IgnoreFoldersAndFiles": [],
  79. "IgnoreDuplicates": [],
  80. },
  81. ## options defined .pytool/Plugin/LibraryClassCheck
  82. "LibraryClassCheck": {
  83. "IgnoreHeaderFile": []
  84. },
  85. ## options defined .pytool/Plugin/SpellCheck
  86. "SpellCheck": {
  87. "AuditOnly": True, # Fails right now with over 270 errors
  88. "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
  89. "ExtendWords": [
  90. "setjump",
  91. "plong",
  92. "lparam",
  93. "lpdword",
  94. "lpthread",
  95. "lresult",
  96. ], # words to extend to the dictionary for this package
  97. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  98. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  99. }
  100. }