Add CI builds for all packages

IntelFsp2Pkg, IntelFsp2WrapperPkg, and IntelSiliconPkg
This commit is contained in:
Bret Barkelew 2020-10-08 16:39:36 -07:00 коммит произвёл Ken Lautner
Родитель be5b1bde44
Коммит b8fb0d01cd
6 изменённых файлов: 193 добавлений и 3 удалений

Просмотреть файл

@ -22,9 +22,12 @@ jobs:
#Use matrix to speed up the build process
strategy:
matrix:
TARGET_NONE:
Build.Pkgs: ''
Build.Targets: ''
TARGET_INTEL_SILICON:
Build.Pkgs: 'IntelSiliconPkg'
Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
TARGET_INTEL_FSP2:
Build.Pkgs: 'IntelFsp2Pkg,IntelFsp2WrapperPkg'
Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
workspace:
clean: all

Просмотреть файл

@ -0,0 +1,48 @@
{
"CompilerPlugin": {
"DscPath": "IntelFsp2Pkg.dsc"
},
"HostUnitTestCompilerPlugin": {
# remove for now. "DscPath": "IntelFsp2PkgTest.dsc"
},
"HostUnitTestDscCompleteCheck": {
#"DscPath": "IntelFsp2PkgTest.dsc",
"IgnoreInf": []
},
"CharEncodingCheck": {
"IgnoreFiles": []
},
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec",
"IntelFsp2Pkg/IntelFsp2Pkg.dec",
"UefiCpuPkg/UefiCpuPkg.dec"
],
"AcceptableDependencies-HOST_APPLICATION":[ # for host based unit tests
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" #MS_CHANGE
],
"IgnoreInf": []
},
"DscCompleteCheck": {
"DscPath": "IntelFsp2Pkg.dsc",
"IgnoreInf": []
},
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
"IgnoreFoldersAndFiles": []
},
"LibraryClassCheck": {
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
"IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
"ExtendWords": [], # 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)
}
}

Просмотреть файл

@ -0,0 +1,50 @@
{
"CompilerPlugin": {
"DscPath": "IntelFsp2WrapperPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
# remove for now. "DscPath": "IntelFsp2WrapperPkgTest.dsc"
},
"HostUnitTestDscCompleteCheck": {
#"DscPath": "IntelFsp2WrapperPkgTest.dsc",
"IgnoreInf": []
},
"CharEncodingCheck": {
"IgnoreFiles": []
},
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec",
"UefiCpuPkg/UefiCpuPkg.dec",
"IntelFsp2Pkg/IntelFsp2Pkg.dec",
"IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec",
"SecurityPkg/SecurityPkg.dec"
],
"AcceptableDependencies-HOST_APPLICATION":[ # for host based unit tests
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" # MS_CHANGE
],
"IgnoreInf": []
},
"DscCompleteCheck": {
"DscPath": "IntelFsp2WrapperPkg.dsc",
"IgnoreInf": []
},
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
"IgnoreFoldersAndFiles": []
},
"LibraryClassCheck": {
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
"IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
"ExtendWords": [], # 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)
}
}

Просмотреть файл

@ -55,6 +55,22 @@
FspWrapperHobProcessLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf
Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
Tpm2DebugLib|SecurityPkg/Library/Tpm2DebugLib/Tpm2DebugLibNull.inf ## MS_CHANGE
##MSCHANGE Begin
[LibraryClasses.common]
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
!if $(TOOL_CHAIN_TAG) == VS2017 or $(TOOL_CHAIN_TAG) == VS2015 or $(TOOL_CHAIN_TAG) == VS2019
!if $(TARGET) == DEBUG
[LibraryClasses.X64, LibraryClasses.IA32]
#if debug is enabled provide StackCookie support lib so that we can link to /GS exports on MSVC
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
[LibraryClasses.X64]
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
NULL|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
!endif
!endif
##MSCHANGE End
[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf

Просмотреть файл

@ -0,0 +1,53 @@
{
"CompilerPlugin": {
"DscPath": "IntelSiliconPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
# remove for now. "DscPath": "IntelSiliconPkgTest.dsc"
},
"HostUnitTestDscCompleteCheck": {
#"DscPath": "IntelSiliconPkgTest.dsc",
"IgnoreInf": []
},
"CharEncodingCheck": {
"IgnoreFiles": []
},
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec",
"IntelSiliconPkg/IntelSiliconPkg.dec",
"UefiCpuPkg/UefiCpuPkg.dec",
],
"AcceptableDependencies-HOST_APPLICATION":[ # for host based unit tests
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
],
"IgnoreInf": [
"IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf" # Requires KBL RC!
]
},
"DscCompleteCheck": {
"DscPath": "IntelSiliconPkg.dsc",
"IgnoreInf": [
"IntelSiliconPkg/Feature/Capsule/MicrocodeCapsuleTxt/Microcode/Microcode.inf",
"IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf" # Requires KBL RC!
]
},
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],
"IgnoreFoldersAndFiles": []
},
"LibraryClassCheck": {
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"AuditOnly": True, # Fails test but run in AuditOnly mode to collect log
"IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
"ExtendWords": [], # 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)
}
}

Просмотреть файл

@ -46,6 +46,21 @@
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
##MSCHANGE Begin
[LibraryClasses.common]
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibNull/BaseBinSecurityLibNull.inf
!if $(TOOL_CHAIN_TAG) == VS2017 or $(TOOL_CHAIN_TAG) == VS2015 or $(TOOL_CHAIN_TAG) == VS2019
!if $(TARGET) == DEBUG
[LibraryClasses.X64, LibraryClasses.IA32]
#if debug is enabled provide StackCookie support lib so that we can link to /GS exports on MSVC
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
[LibraryClasses.X64]
BaseBinSecurityLib|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
NULL|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
!endif
!endif
##MSCHANGE End
[LibraryClasses.common.PEIM]
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
@ -119,6 +134,11 @@
IntelSiliconPkg/Library/SpiFlashCommonLibNull/SpiFlashCommonLibNull.inf
IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
# MU_CHANGE
IntelSiliconPkg/Feature/SmmAccess/Library/PeiSmmAccessLib/PeiSmmAccessLib.inf
IntelSiliconPkg/Feature/SmmAccess/SmmAccessDxe/SmmAccess.inf
IntelSiliconPkg/Library/PeiGetVtdPmrAlignmentLib/PeiGetVtdPmrAlignmentLib.inf
[BuildOptions]
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES