SecurityPkg.ci.yaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. ## @file
  2. # CI configuration for SecurityPkg
  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. ],
  19. ## Both file path and directory path are accepted.
  20. "IgnoreFiles": [
  21. ]
  22. },
  23. "CompilerPlugin": {
  24. "DscPath": "SecurityPkg.dsc"
  25. },
  26. "CharEncodingCheck": {
  27. "IgnoreFiles": []
  28. },
  29. "DependencyCheck": {
  30. "AcceptableDependencies": [
  31. "MdePkg/MdePkg.dec",
  32. "MdeModulePkg/MdeModulePkg.dec",
  33. "SecurityPkg/SecurityPkg.dec",
  34. "CryptoPkg/CryptoPkg.dec"
  35. ],
  36. # For host based unit tests
  37. "AcceptableDependencies-HOST_APPLICATION":[],
  38. # For UEFI shell based apps
  39. "AcceptableDependencies-UEFI_APPLICATION":[],
  40. "IgnoreInf": []
  41. },
  42. "DscCompleteCheck": {
  43. "DscPath": "SecurityPkg.dsc",
  44. "IgnoreInf": []
  45. },
  46. "GuidCheck": {
  47. "IgnoreGuidName": [],
  48. "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
  49. "IgnoreFoldersAndFiles": [],
  50. "IgnoreDuplicates": [
  51. "Tpm2InstanceLibDTpm=gEfiTpmDeviceInstanceTpm20DtpmGuid", # by design
  52. ]
  53. },
  54. "LibraryClassCheck": {
  55. "IgnoreHeaderFile": []
  56. },
  57. ## options defined ci/Plugin/SpellCheck
  58. "SpellCheck": {
  59. "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
  60. "ExtendWords": [ # words to extend to the dictionary for this package
  61. "shortformed", # tpm acpi
  62. "autodetect",
  63. "blocksid",
  64. "comid",
  65. "cpinsidpin", #OpalSScV2
  66. "ecdsa", # TPM
  67. "ecschnorr", # TPM
  68. "eisaid", # ACPI
  69. "harddisk",
  70. "hashall",
  71. "hashto",
  72. "kek's",
  73. "lfanew", # PE/COFF
  74. "pcrindex",
  75. "pkglength",
  76. "ppuser",
  77. "preos",
  78. "stclear",
  79. "toctou",
  80. "tpm's",
  81. "tpmcmdbuflength",
  82. "tpmcommlib",
  83. "tpmnvvaluelength",
  84. "wrlocked",
  85. "xored"
  86. ],
  87. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  88. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  89. },
  90. "Defines": {
  91. "BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
  92. }
  93. }