From nobody Sat Apr 27 15:02:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+65634+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+65634+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1601065219; cv=none; d=zohomail.com; s=zohoarc; b=Vz3aAMpAda+RFcHEmkQpva0I+9j9ZORsat9mYxVAkxIKBOIx0o7IeZTdD6jf4aWvcxkxefKOKu8XwAELih3fr2xpuxpXG/XYHkCZBVeGlmAxEVjs1FQhrV+R+/jlvGF48Mi063n/KmKrOIffzX1TMQjZ8SC0RZfrGnxJZls+uZg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601065219; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=WO0vMIQV7qdgPouOrJOdkqH+QRfS0OQ7nuLqS4KPdTE=; b=HqS9b3lBLCRcSv83iQMXHaZYggYirO7KmHnVkTynI+PJ77lnXVLyaaF+QYxyW+5FunTWCEkIhM94C4P4LuhDMr4lhUeBCb8uoCDEzkwp86eKBX1IqA/NTomFtyBHnK9EtlbP8RHohcbdr5IuEmQoDMMYN1atwphW2mYu4PcCK2I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+65634+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1601065219987888.128941211613; Fri, 25 Sep 2020 13:20:19 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id pIp2YY1788612xmlYOGfI088; Fri, 25 Sep 2020 13:20:19 -0700 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.6878.1601065219156710595 for ; Fri, 25 Sep 2020 13:20:19 -0700 IronPort-SDR: 81JJHFfNAa7ZrsexpGm7qaFDl+xuIrJQKwHcPRW2ghvd+lR4ZD93eB/dGlFihhzrisJiogQQQ+ DsrfqkS3wWOQ== X-IronPort-AV: E=McAfee;i="6000,8403,9755"; a="158980374" X-IronPort-AV: E=Sophos;i="5.77,303,1596524400"; d="scan'208";a="158980374" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 13:20:18 -0700 IronPort-SDR: fLAgnnpl7lejCBqiMtr4rGPq6DdHuUpQf64Bz0eNHItPb/rl4t+pUIqNATTJXNFnDLbQbST+IR Qv5jE5qNb4vw== X-IronPort-AV: E=Sophos;i="5.77,303,1596524400"; d="scan'208";a="348528903" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.12.17]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 13:20:17 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni , Divneil Rai Wadhawan , Sean Brogan Subject: [edk2-devel] [Patch V2] EmulatorPkg: Add CI build for SECURE_BOOT_ENABLE Date: Fri, 25 Sep 2020 13:20:13 -0700 Message-Id: <20200925202013.14464-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com X-Gm-Message-State: SZaanu83S2ATtCfeQw93gIoax1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1601065219; bh=u4PfF5Sup54BZEekLUN3oGo/ZWgaixPpnlzaElR2s2c=; h=Cc:Date:From:Reply-To:Subject:To; b=bdOC52eKjmVByDXfXD6UdzgZWtCVSLS5PBwxPhMzXSgI8dGoJhDHZiRMQcPGXCFR0LE KwgTELCPLJ9t+8T5aTbpaGVq4R1MowpgTG32NeJVyribU67rtq+UNTWwHJVdHbGYM0YPk A3onB6afJQaC76ACyfx0ZUfO2hgfQx5MW1g= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D2979 Add EmulatorPkg CI builds for SECURE_BOOT_ENABLE=3DTRUE 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 Cc: Andrew Fish Cc: Ray Ni Cc: Divneil Rai Wadhawan Cc: Sean Brogan Signed-off-by: Michael D Kinney Reviewed-by: Sean Brogan --- .../.azurepipelines/Ubuntu-GCC5.yml | 43 +++++++++++++++++++ .../.azurepipelines/Windows-VS2019.yml | 43 +++++++++++++++++++ EmulatorPkg/PlatformCI/ReadMe.md | 4 +- ReadMe.rst | 18 ++++++++ 4 files changed, 107 insertions(+), 1 deletion(-) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/Emula= torPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 12ef8226ff..0e5f4d9961 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + Build.Target: "NOOPT" + Run.Flags: $(run_flags) + Run: $(should_run) =20 workspace: clean: all diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/Em= ulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml index a5baf4b606..2bfce4e0af 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + 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=3DTRUE" + Build.Target: "NOOPT" + Run.Flags: $(run_flags) + Run: $(should_run) =20 workspace: clean: all diff --git a/EmulatorPkg/PlatformCI/ReadMe.md b/EmulatorPkg/PlatformCI/Read= Me.md index c51838ec1a..91c40b2093 100644 --- a/EmulatorPkg/PlatformCI/ReadMe.md +++ b/EmulatorPkg/PlatformCI/ReadMe.md @@ -6,13 +6,15 @@ to use the same Pytools based build infrastructure locall= y. ## Supported Configuration Details =20 This solution for building and running EmulatorPkg has only been validated= with Windows 10 -with VS2019 and Ubuntu 18.04 with GCC5 toolchain. Two different firmware b= uilds are +with VS2019 and Ubuntu 18.04 with GCC5 toolchain. Four different firmware = builds are supported and are described below. =20 | Configuration name | Architectures | DSC File |Additio= nal Flags | | :---- | :----- | :---- | :---- = | | IA32 | IA32 | EmulatorPkg.dsc | None = | | X64 | X64 | EmulatorPkg.dsc | None = | +| IA32 Full | IA32 | EmulatorPkg.dsc | SECURE= _BOOT_ENABLE=3DTRUE | +| X64 Full | X64 | EmulatorPkg.dsc | SECURE= _BOOT_ENABLE=3DTRUE | =20 ## EDK2 Developer environment =20 diff --git a/ReadMe.rst b/ReadMe.rst index a16e13547f..c3c8178373 100644 --- a/ReadMe.rst +++ b/ReadMe.rst @@ -28,6 +28,8 @@ Microsoft Windows VS2019 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D EmulatorPkg_Win_VS2019_ | IA32 |em32d| |em32r| = |em32n| | | X64 |em64d| |em64r| = |em64n| +| | IA32 FULL |em32fd| |em32fr| = |em32fn| +| | X64 FULL |em64fd| |em64fr| = |em64fn| OvmfPkg_Win_VS2019_ | IA32 |op32d| |op32r| = |op32n| | | X64 |op64d| |op64r| = |op64n| | | IA32 X64 |op3264d| |op3264r| = |op3264n| @@ -44,6 +46,8 @@ ArmVirtPkg_Ubuntu_GCC5_ | AARCH64 |avAArch6= 4du| |avAArch64ru| |avA | | ARM |avArmdu| |avArmru| = |avArmnu| EmulatorPkg_Ubuntu_GCC5_ | IA32 |em32du| |em32ru| = |em32nu| | | X64 |em64du| |em64ru| = |em64nu| +| | IA32 FULL |em32fdu| |em32fru| = |em32fnu| +| | X64 FULL |em64fdu| |em64fru| = |em64fnu| OvmfPkg_Ubuntu_GCC5_ | IA32 |op32du| |op32ru| = |op32nu| | | X64 |op64du| |op64ru| = |op64nu| | | IA32 X64 |op3264du| |op3264ru| = |op3264nu| @@ -319,6 +323,13 @@ use. .. |em32n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/sta= tus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName=3D= Platform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_NOOPT .. |em32nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DPl= atform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_NOOPT =20 +.. |em32fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName= =3DPlatform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_FULL_DEBUG +.. |em32fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/s= tatus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DP= latform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_FULL_DEBUG +.. |em32fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName= =3DPlatform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_FULL_RELEASE +.. |em32fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/s= tatus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DP= latform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_FULL_RELEASE +.. |em32fn| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName= =3DPlatform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_FULL_NOOPT +.. |em32fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/s= tatus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DP= latform_CI&configuration=3DPlatform_CI%20EmulatorPkg_IA32_FULL_NOOPT + .. |em64d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/sta= tus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName=3D= Platform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_DEBUG .. |em64du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DPl= atform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_DEBUG .. |em64r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/sta= tus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName=3D= Platform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_RELEASE @@ -326,6 +337,13 @@ use. .. |em64n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/sta= tus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName=3D= Platform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_NOOPT .. |em64nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DPl= atform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_NOOPT =20 +.. |em64fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName= =3DPlatform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_FULL_DEBUG +.. |em64fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/s= tatus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DP= latform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_FULL_DEBUG +.. |em64fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName= =3DPlatform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_FULL_RELEASE +.. |em64fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/s= tatus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DP= latform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_FULL_RELEASE +.. |em64fn| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/st= atus/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=3Dmaster&jobName= =3DPlatform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_FULL_NOOPT +.. |em64fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/s= tatus/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=3Dmaster&jobName=3DP= latform_CI&configuration=3DPlatform_CI%20EmulatorPkg_X64_FULL_NOOPT + .. OvmfPkg =20 .. |TCBZ_2661| image:: https://img.shields.io/bugzilla/2661?baseUrl=3Dhttp= s%3A%2F%2Fbugzilla.tianocore.org --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#65634): https://edk2.groups.io/g/devel/message/65634 Mute This Topic: https://groups.io/mt/77124626/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-