[edk2-devel] [PATCH v9 03/12] EmulatorPkg: CI: use Python version from defaults template
Michael Kubacki
mikuback at linux.microsoft.com
Thu Dec 1 00:04:58 UTC 2022
Like patch v9 1/12 & v9 2/12, I suggest updating Ubuntu-GCC5.yml in
EmulatorPkg/PlatformCI/.azurepipelines to use the template in this patch.
On 11/30/2022 5:01 PM, Oliver Steffen wrote:
> Use the default Python version from the defaults template
> (.azurepipelines/templates/defaults.yml) in the Windows
> 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.
>
> The Linux CI jobs will use Python from the container image,
> so these changes are for Windows only.
>
> Signed-off-by: Oliver Steffen <osteffen at redhat.com>
> ---
> EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
> b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
> index e7ead06ae266..09960e7c7a6e 100644
> --- a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
> +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
> @@ -16,6 +16,9 @@ pr:
> - master
> - stable/*
>
> +variables:
> + - template: ../../../.azurepipelines/templates/defaults.yml
> +
> jobs:
> - job: Platform_CI
> variables:
> @@ -128,3 +131,4 @@ jobs:
> build_file: $(Build.File)
> build_flags: $(Build.Flags)
> run_flags: $(Run.Flags)
> + usePythonVersion: ${{ variables.default_python_version }}
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#96792): https://edk2.groups.io/g/devel/message/96792
Mute This Topic: https://groups.io/mt/95369384/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list