EmulatorPkg: Add CI build for SECURE_BOOT_ENABLE

https://bugzilla.tianocore.org/show_bug.cgi?id=2979

Add EmulatorPkg CI builds for SECURE_BOOT_ENABLE=TRUE
for IA32/X64 and DEBUG/RELEASE/NOOPT.  Label these as
FULL builds, so if additional build options are added
in the future, they can be added to these FULL builds.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Divneil Rai Wadhawan <divneil.r.wadhawan@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
Michael D Kinney
2020-09-24 15:40:25 -07:00
committed by mergify[bot]
parent 1d058c3e86
commit 2e14ee75c0
3 changed files with 89 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
# Toolchain: GCC5
#
# Copyright (c) Microsoft Corporation.
# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
trigger:
@@ -65,6 +66,48 @@ jobs:
Build.Target: "NOOPT"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_X64_FULL_DEBUG:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "X64"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "DEBUG"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_X64_FULL_RELEASE:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "X64"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "RELEASE"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_X64_FULL_NOOPT:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "X64"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "NOOPT"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_IA32_FULL_DEBUG:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "IA32"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "DEBUG"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_IA32_FULL_RELEASE:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "IA32"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "RELEASE"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_IA32_FULL_NOOPT:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "IA32"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "NOOPT"
Run.Flags: $(run_flags)
Run: $(should_run)
workspace:
clean: all

View File

@@ -6,6 +6,7 @@
# Toolchain: VS2019
#
# Copyright (c) Microsoft Corporation.
# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
trigger:
@@ -66,6 +67,48 @@ jobs:
Build.Target: "NOOPT"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_X64_FULL_DEBUG:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "X64"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "DEBUG"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_X64_FULL_RELEASE:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "X64"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "RELEASE"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_X64_FULL_NOOPT:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "X64"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "NOOPT"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_IA32_FULL_DEBUG:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "IA32"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "DEBUG"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_IA32_FULL_RELEASE:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "IA32"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "RELEASE"
Run.Flags: $(run_flags)
Run: $(should_run)
EmulatorPkg_IA32_FULL_NOOPT:
Build.File: "$(package)/PlatformCI/PlatformBuild.py"
Build.Arch: "IA32"
Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
Build.Target: "NOOPT"
Run.Flags: $(run_flags)
Run: $(should_run)
workspace:
clean: all