From 3f138207a6239ecb8c054ba56e87df3999a81955 Mon Sep 17 00:00:00 2001 From: Dun Tan Date: Tue, 22 Nov 2022 19:42:20 +0800 Subject: [PATCH] Just for test Signed-off-by: Dun Tan Signed-off-by: Dun Tan --- .../.azurepipelines/Ubuntu-GCC5.yml | 138 +----------------- .../.azurepipelines/Windows-VS2019.yml | 74 +--------- 2 files changed, 3 insertions(+), 209 deletions(-) diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 2242ffebb5520..73caef6887510 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -27,27 +27,6 @@ jobs: #Use matrix to speed up the build process strategy: matrix: - OVMF_IA32_DEBUG: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32" - Build.Flags: "" - Build.Target: "DEBUG" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32" - Build.Flags: "" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32" - Build.Flags: "" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) OVMF_X64_DEBUG: Build.File: "$(package)/PlatformCI/PlatformBuild.py" @@ -64,122 +43,7 @@ jobs: Run.Flags: $(run_flags) Run: $(should_run) # unit_test_list should be the format: '-u ModulePath1:DscPath1,ModulePath2:DscPath2' or '-u ModulePath1:DscPath1 -u ModulePath2:DscPath2'.(Path is workspace relative) - unit_test_list: '' - OVMF_X64_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_X64_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) - - OVMF_IA32X64_DEBUG: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "" - Build.Target: "DEBUG" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) - - OVMF_IA32X64_FULL_DEBUG: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=1 BLD_*_SMM_REQUIRE=1 BLD_*_TPM2_ENABLE=1 BLD_*_NETWORK_TLS_ENABLE=1 BLD_*_NETWORK_IP6_ENABLE=1 BLD_*_NETWORK_HTTP_BOOT_ENABLE=1" - Build.Target: "DEBUG" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_FULL_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=1 BLD_*_SMM_REQUIRE=1 BLD_*_TPM2_ENABLE=1 BLD_*_NETWORK_TLS_ENABLE=1 BLD_*_NETWORK_IP6_ENABLE=1 BLD_*_NETWORK_HTTP_BOOT_ENABLE=1" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_FULL_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=1 BLD_*_SMM_REQUIRE=1 BLD_*_TPM2_ENABLE=1 BLD_*_NETWORK_TLS_ENABLE=1 BLD_*_NETWORK_IP6_ENABLE=1 BLD_*_NETWORK_HTTP_BOOT_ENABLE=1" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) - - AMDSEV_X64_DEBUG: - Build.File: "$(package)/PlatformCI/AmdSevBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "DEBUG" - # restricted + stripped down build - # can't boot to uefi shell -> skip test - Run.Flags: "QEMU_SKIP=TRUE" - Run: $(should_run) - - BHYVE_X64_DEBUG: - Build.File: "$(package)/PlatformCI/BhyveBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "DEBUG" - # this build is for freebsd bhyve not qemu-kvm - Run.Flags: "QEMU_SKIP=TRUE" - Run: $(should_run) - - CLOUDHV_X64_DEBUG: - Build.File: "$(package)/PlatformCI/CloudHvBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "DEBUG" - # this build is for cloud-hypervisor not qemu-kvm - Run.Flags: "QEMU_SKIP=TRUE" - Run: $(should_run) - - MICROVM_X64_DEBUG: - Build.File: "$(package)/PlatformCI/MicrovmBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "DEBUG" - # no storage supported by microvm build - # can't boot to uefi shell -> skip test - Run.Flags: "QEMU_SKIP=TRUE" - Run: $(should_run) - - OVMF_XEN_X64_DEBUG: - Build.File: "$(package)/PlatformCI/XenBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "DEBUG" - # this build is for xen not qemu-kvm - Run.Flags: "QEMU_SKIP=TRUE" - Run: $(should_run) - - INTELTDX_X64_DEBUG: - Build.File: "$(package)/PlatformCI/IntelTdxBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "DEBUG" - # no storage supported by microvm build - # can't boot to uefi shell -> skip test - Run.Flags: "QEMU_SKIP=TRUE" - Run: $(should_run) + unit_test_list: '-u MdeModulePkg/Application/HelloWorld/HelloWorld.inf:MdeModulePkg/MdeModulePkg.dsc,UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/ShellCpuExceptionHandlerLibUnitTest.inf:UefiCpuPkg/UefiCpuPkg.dsc' workspace: clean: all diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml index 881db9eb27aea..8bc76dd35dba4 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -26,27 +26,7 @@ jobs: #Use matrix to speed up the build process strategy: matrix: - OVMF_IA32_DEBUG: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32" - Build.Flags: "" - Build.Target: "DEBUG" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32" - Build.Flags: "" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32" - Build.Flags: "" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) + OVMF_X64_DEBUG: Build.File: "$(package)/PlatformCI/PlatformBuild.py" @@ -63,58 +43,8 @@ jobs: Run.Flags: $(run_flags) Run: $(should_run) # unit_test_list should be the format: '-u ModulePath1:DscPath1,ModulePath2:DscPath2' or '-u ModulePath1:DscPath1 -u ModulePath2:DscPath2'.(Path is workspace relative) - unit_test_list: '' - OVMF_X64_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_X64_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "X64" - Build.Flags: "" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) - - OVMF_IA32X64_DEBUG: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "" - Build.Target: "DEBUG" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_NOOPT: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "" - Build.Target: "NOOPT" - Run.Flags: $(run_flags) - Run: $(should_run) + unit_test_list: '-u MdeModulePkg/Application/HelloWorld/HelloWorld.inf:MdeModulePkg/MdeModulePkg.dsc,UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/ShellCpuExceptionHandlerLibUnitTest.inf:UefiCpuPkg/UefiCpuPkg.dsc' - OVMF_IA32X64_FULL_DEBUG: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=1 BLD_*_SMM_REQUIRE=1 BLD_*_TPM2_ENABLE=1 BLD_*_NETWORK_TLS_ENABLE=1 BLD_*_NETWORK_IP6_ENABLE=1 BLD_*_NETWORK_HTTP_BOOT_ENABLE=1" - Build.Target: "DEBUG" - Run.Flags: $(run_flags) - Run: $(should_run) - OVMF_IA32X64_FULL_RELEASE: - Build.File: "$(package)/PlatformCI/PlatformBuild.py" - Build.Arch: "IA32,X64" - Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=1 BLD_*_SMM_REQUIRE=1 BLD_*_TPM2_ENABLE=1 BLD_*_NETWORK_TLS_ENABLE=1 BLD_*_NETWORK_IP6_ENABLE=1 BLD_*_NETWORK_HTTP_BOOT_ENABLE=1" - Build.Target: "RELEASE" - Run.Flags: $(run_flags) - Run: $(should_run) # This currently creates a very large image which is too big for the FDF declared range # Ovmf maintainers suggest to skip this build for now.