From: "Michael Kubacki" <mikuback@linux.microsoft.com>
To: devel@edk2.groups.io, ardb@kernel.org
Cc: Gerd Hoffmann <kraxel@redhat.com>,
Michael Kubacki <michael.kubacki@microsoft.com>,
Jiewen Yao <jiewen.yao@intel.com>,
Oliver Steffen <osteffen@redhat.com>
Subject: Re: [edk2-devel] [PATCH v2 6/6] ArmVirtPkg/PlatformCI: Perform build test of ArmVirtKvmTool
Date: Thu, 26 Jan 2023 09:35:47 -0500 [thread overview]
Message-ID: <98c976b7-8183-9d1b-994c-3e96a52d6133@linux.microsoft.com> (raw)
In-Reply-To: <20230124163417.584727-7-ardb@kernel.org>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
On 1/24/2023 11:34 AM, Ard Biesheuvel wrote:
> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
> ---
> 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/ArmVirtPkg/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)
>
> Run: $(should_run)
>
>
>
> + KVMTOOL_AARCH64_DEBUG:
>
> + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"
>
> + Build.Arch: "AARCH64"
>
> + Build.Flags: ""
>
> + Build.Target: "DEBUG"
>
> + Run: false
>
> + KVMTOOL_AARCH64_RELEASE:
>
> + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"
>
> + Build.Arch: "AARCH64"
>
> + Build.Flags: ""
>
> + Build.Target: "RELEASE"
>
> + Run: false
>
> + KVMTOOL_ARM_DEBUG:
>
> + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"
>
> + Build.Arch: "ARM"
>
> + Build.Flags: ""
>
> + Build.Target: "DEBUG"
>
> + Run: false
>
> + KVMTOOL_ARM_RELEASE:
>
> + Build.File: "$(package)/PlatformCI/KvmToolBuild.py"
>
> + Build.Arch: "ARM"
>
> + Build.Flags: ""
>
> + Build.Target: "RELEASE"
>
> + Run: false
>
> +
>
> workspace:
>
> clean: all
>
>
>
> 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
>
> +# Script to Build ArmVirtPkg UEFI firmware
>
> +#
>
> +# Copyright (c) Microsoft Corporation.
>
> +# SPDX-License-Identifier: BSD-2-Clause-Patent
>
> +##
>
> +import os
>
> +import sys
>
> +
>
> +sys.path.append(os.path.dirname(os.path.abspath(__file__)))
>
> +from PlatformBuildLib import SettingsManager
>
> +from PlatformBuildLib import PlatformBuilder
>
> +
>
> + # ####################################################################################### #
>
> + # Common Configuration #
>
> + # ####################################################################################### #
>
> +class CommonPlatform():
>
> + ''' Common settings for this platform. Define static data here and use
>
> + for the different parts of stuart
>
> + '''
>
> + PackagesSupported = ("ArmVirtPkg",)
>
> + ArchSupported = ("AARCH64", "ARM")
>
> + TargetsSupported = ("DEBUG", "RELEASE")
>
> + Scopes = ('armvirt', 'edk2-build')
>
> + WorkspaceRoot = os.path.realpath(os.path.join(
>
> + os.path.dirname(os.path.abspath(__file__)), "..", ".."))
>
> +
>
> + DscName = os.path.join("ArmVirtPkg", "ArmVirtKvmTool.dsc")
>
> + FvQemuArg = "" # ignored
>
> +
>
> +import PlatformBuildLib
>
> +PlatformBuildLib.CommonPlatform = CommonPlatform
>
next prev parent reply other threads:[~2023-01-26 14:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-24 16:34 [PATCH v2 0/6] ArmVirtPkg: Increase PlatformCI coverage Ard Biesheuvel
2023-01-24 16:34 ` [PATCH v2 1/6] ArmVirtPkg/PrePi: Ensure timely execution of library constructors Ard Biesheuvel
2023-01-24 16:34 ` [PATCH v2 2/6] ArmVirtPkg/ArmVirtQemu: enlarge initial flash mapping Ard Biesheuvel
2023-01-24 16:34 ` [PATCH v2 3/6] ArmVirtPkg/PlatformCI: factor out reusable PlatformBuildLib.py Ard Biesheuvel
2023-01-26 14:34 ` [edk2-devel] " Michael Kubacki
2023-01-24 16:34 ` [PATCH v2 4/6] ArmVirtPkg/PlatformCI: Enable optional features on Qemu AARCH64 builds Ard Biesheuvel
2023-01-26 14:35 ` [edk2-devel] " Michael Kubacki
2023-01-24 16:34 ` [PATCH v2 5/6] ArmVirtPkg/PlatformCI: Add CI coverage for ArmVirtQemuKernel Ard Biesheuvel
2023-01-26 14:35 ` [edk2-devel] " Michael Kubacki
2023-01-24 16:34 ` [PATCH v2 6/6] ArmVirtPkg/PlatformCI: Perform build test of ArmVirtKvmTool Ard Biesheuvel
2023-01-26 14:35 ` Michael Kubacki [this message]
2023-01-25 9:41 ` [edk2-devel] [PATCH v2 0/6] ArmVirtPkg: Increase PlatformCI coverage Gerd Hoffmann
2023-01-25 12:38 ` Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=98c976b7-8183-9d1b-994c-3e96a52d6133@linux.microsoft.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox