EmulatorPkg.ci.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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, 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. "EmbeddedPkg/EmbeddedPkg.dec", ## is this one OK??
  56. ],
  57. # For host based unit tests
  58. "AcceptableDependencies-HOST_APPLICATION":[
  59. "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
  60. ],
  61. # For UEFI shell based apps
  62. "AcceptableDependencies-UEFI_APPLICATION":[],
  63. "IgnoreInf": []
  64. },
  65. ## options defined .pytool/Plugin/DscCompleteCheck
  66. "DscCompleteCheck": {
  67. "IgnoreInf": [""],
  68. "DscPath": "" # Don't support this test
  69. },
  70. ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
  71. "HostUnitTestDscCompleteCheck": {
  72. "IgnoreInf": [""],
  73. "DscPath": "" # Don't support this test
  74. },
  75. ## options defined .pytool/Plugin/GuidCheck
  76. "GuidCheck": {
  77. "IgnoreGuidName": [],
  78. "IgnoreGuidValue": [],
  79. "IgnoreFoldersAndFiles": [],
  80. "IgnoreDuplicates": [],
  81. },
  82. ## options defined .pytool/Plugin/LibraryClassCheck
  83. "LibraryClassCheck": {
  84. "IgnoreHeaderFile": []
  85. },
  86. ## options defined .pytool/Plugin/SpellCheck
  87. "SpellCheck": {
  88. "AuditOnly": True, # Fails right now with over 270 errors
  89. "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
  90. "ExtendWords": [
  91. "setjump",
  92. "plong",
  93. "lparam",
  94. "lpdword",
  95. "lpthread",
  96. "lresult",
  97. ], # words to extend to the dictionary for this package
  98. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  99. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  100. }
  101. }