ArmVirtPkg/PlatformCI: Perform build test of ArmVirtKvmTool
Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
committed by
mergify[bot]
parent
0eda253317
commit
ca573b8615
@ -115,6 +115,31 @@ jobs:
|
|||||||
Run.Flags: $(run_flags)
|
Run.Flags: $(run_flags)
|
||||||
Run: $(should_run)
|
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:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
|
|
||||||
|
32
ArmVirtPkg/PlatformCI/KvmToolBuild.py
Normal file
32
ArmVirtPkg/PlatformCI/KvmToolBuild.py
Normal file
@ -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
|
Reference in New Issue
Block a user