From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.19957.1674578075564225736 for ; Tue, 24 Jan 2023 08:34:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CLgL4zdL; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DDD75612A8; Tue, 24 Jan 2023 16:34:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E3C3C4339E; Tue, 24 Jan 2023 16:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674578074; bh=QAxph31iXVslss0ss0pIBp5ssLOeynCu4g33qXQ7Kxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CLgL4zdLUDcV7Y/ck/yVQ/CyH07UfYzx1LwfjjyEJuuj8EBdo23sRKANVwcwq1Eru 99dpl/IOuelePxKrkHr44mrwuaYojzMZMIPJV6FNdcQ/xh67Egy4zY/14i16/e+6FS md+Cwne4R00n+TOpoU1jsj7cDnkv8jGYXHIobgbFl6U4wcPHkDG6ynGc5hjca3ZXSL 57ONJSFw/+1C+DCmqZ5BCCoZCkV1iyD6TK3Ev+oYwPcrvlsZIN95bcZK+HllyhN1Y9 tbACzaGKgXPnK2PgxCF1SUQXBWylv5I3/fUtHFYP30a6igDNtEAxjPZFMHQKumGtff Ax60Fc/JhLTJA== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Gerd Hoffmann , Michael Kubacki , Jiewen Yao , Oliver Steffen Subject: [PATCH v2 6/6] ArmVirtPkg/PlatformCI: Perform build test of ArmVirtKvmTool Date: Tue, 24 Jan 2023 17:34:17 +0100 Message-Id: <20230124163417.584727-7-ardb@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230124163417.584727-1-ardb@kernel.org> References: <20230124163417.584727-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: Ard Biesheuvel --- ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 25 +++++++++++++++ ArmVirtPkg/PlatformCI/KvmToolBuild.py | 32 +++++++++++++++= +++++ 2 files changed, 57 insertions(+) diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVir= tPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 2b6cc119167b..d1772a65fc3a 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -115,6 +115,31 @@ jobs: Run.Flags: $(run_flags)=0D Run: $(should_run)=0D =0D + KVMTOOL_AARCH64_DEBUG:=0D + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"=0D + Build.Arch: "AARCH64"=0D + Build.Flags: ""=0D + Build.Target: "DEBUG"=0D + Run: false=0D + KVMTOOL_AARCH64_RELEASE:=0D + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"=0D + Build.Arch: "AARCH64"=0D + Build.Flags: ""=0D + Build.Target: "RELEASE"=0D + Run: false=0D + KVMTOOL_ARM_DEBUG:=0D + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"=0D + Build.Arch: "ARM"=0D + Build.Flags: ""=0D + Build.Target: "DEBUG"=0D + Run: false=0D + KVMTOOL_ARM_RELEASE:=0D + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"=0D + Build.Arch: "ARM"=0D + Build.Flags: ""=0D + Build.Target: "RELEASE"=0D + Run: false=0D +=0D workspace:=0D clean: all=0D =0D diff --git a/ArmVirtPkg/PlatformCI/KvmToolBuild.py b/ArmVirtPkg/PlatformCI/= KvmToolBuild.py new file mode 100644 index 000000000000..4d02dba124ac --- /dev/null +++ b/ArmVirtPkg/PlatformCI/KvmToolBuild.py @@ -0,0 +1,32 @@ +# @file=0D +# Script to Build ArmVirtPkg UEFI firmware=0D +#=0D +# Copyright (c) Microsoft Corporation.=0D +# SPDX-License-Identifier: BSD-2-Clause-Patent=0D +##=0D +import os=0D +import sys=0D +=0D +sys.path.append(os.path.dirname(os.path.abspath(__file__)))=0D +from PlatformBuildLib import SettingsManager=0D +from PlatformBuildLib import PlatformBuilder=0D +=0D + # ####################################################################= ################### #=0D + # Common Configuration = #=0D + # ####################################################################= ################### #=0D +class CommonPlatform():=0D + ''' Common settings for this platform. Define static data here and us= e=0D + for the different parts of stuart=0D + '''=0D + PackagesSupported =3D ("ArmVirtPkg",)=0D + ArchSupported =3D ("AARCH64", "ARM")=0D + TargetsSupported =3D ("DEBUG", "RELEASE")=0D + Scopes =3D ('armvirt', 'edk2-build')=0D + WorkspaceRoot =3D os.path.realpath(os.path.join(=0D + os.path.dirname(os.path.abspath(__file__)), "..", ".."))=0D +=0D + DscName =3D os.path.join("ArmVirtPkg", "ArmVirtKvmTool.dsc")=0D + FvQemuArg =3D "" # ignored=0D +=0D +import PlatformBuildLib=0D +PlatformBuildLib.CommonPlatform =3D CommonPlatform=0D --=20 2.39.0