summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2022-09-06 18:48:10 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-03 18:22:03 +0000
commit12973359d02d59c0f856b1c1dd6d0ad2f85cdab9 (patch)
tree78a12f3ef2819eb3168d82db82eecd3c363088ac
parent43c1111530a9e90b2a9317a9d159c7f0f381cc44 (diff)
downloadedk2-12973359d02d59c0f856b1c1dd6d0ad2f85cdab9.tar.gz
edk2-12973359d02d59c0f856b1c1dd6d0ad2f85cdab9.tar.bz2
edk2-12973359d02d59c0f856b1c1dd6d0ad2f85cdab9.zip
EmbeddedPkg: Only run in CI for GCC5
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>
-rw-r--r--.azurepipelines/templates/pr-gate-build-job.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
index 0e4ad019bf..54a74a1a98 100644
--- a/.azurepipelines/templates/pr-gate-build-job.yml
+++ b/.azurepipelines/templates/pr-gate-build-job.yml
@@ -21,6 +21,10 @@ jobs:
#Use matrix to speed up the build process
strategy:
matrix:
+ ${{ if eq(parameters.tool_chain_tag, 'GCC5') }}:
+ TARGET_GCC_ONLY:
+ Build.Pkgs: 'EmbeddedPkg'
+ Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
TARGET_ARM_ARMPLATFORM:
Build.Pkgs: 'ArmPkg,ArmPlatformPkg'
Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'