]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmbeddedPkg: Only run in CI for GCC5
authorMichael Kubacki <michael.kubacki@microsoft.com>
Tue, 6 Sep 2022 22:48:10 +0000 (18:48 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 3 Oct 2022 18:22:03 +0000 (18:22 +0000)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4046

This package currently does not build on non-GCC toolchains.

This change adds the package to edk2 CI so it can benefit from
ongoing CI and only tests the package against GCC.

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
.azurepipelines/templates/pr-gate-build-job.yml

index 0e4ad019bf03a55b46dd12a7d2b55ff3d6e0aece..54a74a1a98738c80b2642854c5fdc9751024855c 100644 (file)
@@ -21,6 +21,10 @@ jobs:
   #Use matrix to speed up the build process\r
   strategy:\r
     matrix:\r
+      ${{ if eq(parameters.tool_chain_tag, 'GCC5') }}:\r
+        TARGET_GCC_ONLY:\r
+          Build.Pkgs: 'EmbeddedPkg'\r
+          Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
       TARGET_ARM_ARMPLATFORM:\r
         Build.Pkgs: 'ArmPkg,ArmPlatformPkg'\r
         Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r