UefiCpuPkg.ci.yaml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. ## @file
  2. # CI configuration for UefiCpuPkg
  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. "LicenseCheck": {
  10. "IgnoreFiles": []
  11. },
  12. "EccCheck": {
  13. ## Exception sample looks like below:
  14. ## "ExceptionList": [
  15. ## "<ErrorID>", "<KeyWord>"
  16. ## ]
  17. "ExceptionList": [
  18. "8006", "main",
  19. "8005", "GENERAL_REGISTER.R8",
  20. "8005", "GENERAL_REGISTER.R9",
  21. "8005", "GENERAL_REGISTER.R10",
  22. "8005", "GENERAL_REGISTER.R11",
  23. "8005", "GENERAL_REGISTER.R12",
  24. "8005", "GENERAL_REGISTER.R13",
  25. "8005", "GENERAL_REGISTER.R14",
  26. "8005", "GENERAL_REGISTER.R15"
  27. ],
  28. ## Both file path and directory path are accepted.
  29. "IgnoreFiles": [
  30. "Library/BaseRiscV64CpuExceptionHandlerLib/CpuExceptionHandlerLib.h"
  31. ]
  32. },
  33. "CompilerPlugin": {
  34. "DscPath": "UefiCpuPkg.dsc"
  35. },
  36. ## options defined ci/Plugin/HostUnitTestCompilerPlugin
  37. "HostUnitTestCompilerPlugin": {
  38. "DscPath": "Test/UefiCpuPkgHostTest.dsc"
  39. },
  40. "CharEncodingCheck": {
  41. "IgnoreFiles": []
  42. },
  43. "DependencyCheck": {
  44. "AcceptableDependencies": [
  45. "MdePkg/MdePkg.dec",
  46. "MdeModulePkg/MdeModulePkg.dec",
  47. "UefiCpuPkg/UefiCpuPkg.dec"
  48. ],
  49. # For host based unit tests
  50. "AcceptableDependencies-HOST_APPLICATION":[
  51. "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec",
  52. "CryptoPkg/CryptoPkg.dec"
  53. ],
  54. # For UEFI shell based apps
  55. "AcceptableDependencies-UEFI_APPLICATION":[],
  56. "IgnoreInf": []
  57. },
  58. "DscCompleteCheck": {
  59. "DscPath": "UefiCpuPkg.dsc",
  60. "IgnoreInf": [
  61. "UefiCpuPkg/ResetVector/FixupVtf/Vtf.inf",
  62. "UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf",
  63. "UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf"
  64. ]
  65. },
  66. "HostUnitTestDscCompleteCheck": {
  67. "IgnoreInf": [""],
  68. "DscPath": "Test/UefiCpuPkgHostTest.dsc"
  69. },
  70. "GuidCheck": {
  71. "IgnoreGuidName": ["SecCore", "ResetVector"], # Expected duplication for gEfiFirmwareVolumeTopFileGuid
  72. "IgnoreGuidValue": [],
  73. "IgnoreFoldersAndFiles": [],
  74. "IgnoreDuplicates": []
  75. },
  76. "LibraryClassCheck": {
  77. "IgnoreHeaderFile": []
  78. },
  79. ## options defined ci/Plugin/SpellCheck
  80. "SpellCheck": {
  81. "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
  82. "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
  83. "ExtendWords": [], # words to extend to the dictionary for this package
  84. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  85. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  86. }
  87. }