summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Steffen <osteffen@redhat.com>2023-01-16 18:40:29 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-17 19:06:32 +0000
commit89ed7e4795c94ff694454526ea1796e2fc9d5ad6 (patch)
tree6eb8c2d34355f355857ed2d33d21663d006cd741
parent357955173463b0a3c884ef9b5a9e8370e3d46f9a (diff)
downloadedk2-89ed7e4795c94ff694454526ea1796e2fc9d5ad6.tar.gz
edk2-89ed7e4795c94ff694454526ea1796e2fc9d5ad6.tar.bz2
edk2-89ed7e4795c94ff694454526ea1796e2fc9d5ad6.zip
ArmVirtPkg: CI: use Python version from defaults template
Use the default Python version from the defaults template (.azurepipelines/templates/defaults.yml) in the Windows and Linux CI jobs. Previous changes to the CI job templates make it necessary to specify a version number, if Python shall be pulled at CI runtime. Signed-off-by: Oliver Steffen <osteffen@redhat.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Chris Fernald <chfernal@microsoft.com>
-rw-r--r--ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
index b07e3199f1..5a0e589ed4 100644
--- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
+++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
@@ -15,6 +15,9 @@ pr:
- master
- stable/*
+variables:
+ - template: ../../../.azurepipelines/templates/defaults.yml
+
jobs:
- job: Platform_CI
variables:
@@ -85,6 +88,7 @@ jobs:
build_file: $(Build.File)
build_flags: $(Build.Flags)
run_flags: $(Run.Flags)
+ usePythonVersion: ${{ variables.default_python_version }}
extra_install_step:
- bash: sudo apt-get install qemu
displayName: Install qemu