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: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chris Fernald <chfernal@microsoft.com>
- master\r
- stable/*\r
\r
+variables:\r
+ - template: ../../../.azurepipelines/templates/defaults.yml\r
+\r
jobs:\r
- job: Platform_CI\r
variables:\r
build_file: $(Build.File)\r
build_flags: $(Build.Flags)\r
run_flags: $(Run.Flags)\r
+ usePythonVersion: ${{ variables.default_python_version }}\r
extra_install_step:\r
- bash: sudo apt-get install qemu\r
displayName: Install qemu\r
pr:\r
- master\r
- stable/*\r
+\r
+variables:\r
+ - template: ../../../.azurepipelines/templates/defaults.yml\r
+\r
jobs:\r
- job: Platform_CI\r
variables:\r
build_file: $(Build.File)\r
build_flags: $(Build.Flags)\r
run_flags: $(Run.Flags)\r
+ usePythonVersion: ${{ variables.default_python_version }}\r
extra_install_step:\r
- powershell: choco install qemu --version=2021.5.5; Write-Host "##vso[task.prependpath]c:\Program Files\qemu"\r
displayName: Install QEMU and Set QEMU on path # friendly name displayed in the UI\r