mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-11-03 07:59:00 +08:00 
			
		
		
		
	Adds an entry to the package's CI configuration file that enable policy 5 for stuart_pr_eval. With this Policy, all INFs used by the package are extracted from the provided DSC file and compared against the list of changed *.inf (INF) files in the PR. If there is a match, stuart_pr_eval will specify that this package is affected by the PR and needs to be tested. Signed-off-by: Joey Vagedes <joey.vagedes@gmail.com>
		
			
				
	
	
		
			102 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			102 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
## @file
 | 
						|
#  CI configuration for StandaloneMmPkg
 | 
						|
#
 | 
						|
#  Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
 | 
						|
#  Copyright (c) 2020 - 2021, Arm Limited. All rights reserved.<BR>
 | 
						|
#  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
##
 | 
						|
{
 | 
						|
    "PrEval": {
 | 
						|
        "DscPath": "StandaloneMmPkg.dsc",
 | 
						|
    },
 | 
						|
    "EccCheck": {
 | 
						|
        ## Exception sample looks like below:
 | 
						|
        ## "ExceptionList": [
 | 
						|
        ##     "<ErrorID>", "<KeyWord>"
 | 
						|
        ## ]
 | 
						|
        "ExceptionList": [
 | 
						|
            "4002", "HobConstructor"
 | 
						|
        ],
 | 
						|
        ## Both file path and directory path are accepted.
 | 
						|
        "IgnoreFiles": [
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    ## options defined .pytool/Plugin/CompilerPlugin
 | 
						|
    "CompilerPlugin": {
 | 
						|
        "DscPath": "StandaloneMmPkg.dsc"
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
 | 
						|
    "HostUnitTestCompilerPlugin": {
 | 
						|
        "DscPath": "" # Don't support this test
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/CharEncodingCheck
 | 
						|
    "CharEncodingCheck": {
 | 
						|
        "IgnoreFiles": []
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/DependencyCheck
 | 
						|
    "DependencyCheck": {
 | 
						|
        "AcceptableDependencies": [
 | 
						|
            "ArmPkg/ArmPkg.dec",
 | 
						|
            "EmbeddedPkg/EmbeddedPkg.dec",
 | 
						|
            "StandaloneMmPkg/StandaloneMmPkg.dec",
 | 
						|
            "MdeModulePkg/MdeModulePkg.dec",
 | 
						|
            "MdePkg/MdePkg.dec",
 | 
						|
            "UefiCpuPkg/UefiCpuPkg.dec"
 | 
						|
        ],
 | 
						|
        # For host based unit tests
 | 
						|
        "AcceptableDependencies-HOST_APPLICATION":[
 | 
						|
            "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
 | 
						|
        ],
 | 
						|
        # For UEFI shell based apps
 | 
						|
        "AcceptableDependencies-UEFI_APPLICATION":[],
 | 
						|
        "IgnoreInf": []
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/DscCompleteCheck
 | 
						|
    "DscCompleteCheck": {
 | 
						|
        "IgnoreInf": [],
 | 
						|
        "DscPath": "StandaloneMmPkg.dsc"
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
 | 
						|
    "HostUnitTestDscCompleteCheck": {
 | 
						|
        "IgnoreInf": [""],
 | 
						|
        "DscPath": "" # Don't support this test
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/GuidCheck
 | 
						|
    "GuidCheck": {
 | 
						|
        "IgnoreGuidName": [],
 | 
						|
        "IgnoreGuidValue": [],
 | 
						|
        "IgnoreFoldersAndFiles": [],
 | 
						|
        "IgnoreDuplicates": [],
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/LibraryClassCheck
 | 
						|
    "LibraryClassCheck": {
 | 
						|
        "IgnoreHeaderFile": []
 | 
						|
    },
 | 
						|
 | 
						|
    ## options defined .pytool/Plugin/SpellCheck
 | 
						|
    "SpellCheck": {
 | 
						|
        "AuditOnly": False,
 | 
						|
        "IgnoreFiles": [],           # use gitignore syntax to ignore errors
 | 
						|
                                     # in matching files
 | 
						|
        "ExtendWords": [
 | 
						|
            "Bsymbolic",
 | 
						|
            "FwVol",
 | 
						|
            "mpidr",
 | 
						|
            "mstrict",
 | 
						|
            "schedulable",
 | 
						|
            "StandaloneMMCore",
 | 
						|
        ],           # words to extend to the dictionary for this package
 | 
						|
        "IgnoreStandardPaths": [],   # Standard Plugin defined paths that
 | 
						|
                                     # should be ignore
 | 
						|
        "AdditionalIncludePaths": [] # Additional paths to spell check
 | 
						|
                                     # (wildcards supported)
 | 
						|
    }
 | 
						|
}
 |