Skip to content

Commit

Permalink
EmulatorPkg: CI: use Python version from defaults template
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Michael Kubacki <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Chris Fernald <[email protected]>
  • Loading branch information
osteffenrh authored and mergify[bot] committed Jan 17, 2023
1 parent 89ed7e4 commit 7d62df6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ trigger:
pr:
- master
- stable/*

variables:
- template: ../../../.azurepipelines/templates/defaults.yml

jobs:
- job: Platform_CI
variables:
Expand Down Expand Up @@ -85,3 +89,4 @@ jobs:
build_file: $(Build.File)
build_flags: $(Build.Flags)
run_flags: $(Run.Flags)
usePythonVersion: ${{ variables.default_python_version }}
4 changes: 4 additions & 0 deletions EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ pr:
- master
- stable/*

variables:
- template: ../../../.azurepipelines/templates/defaults.yml

jobs:
- job: Platform_CI
variables:
Expand Down Expand Up @@ -128,3 +131,4 @@ jobs:
build_file: $(Build.File)
build_flags: $(Build.Flags)
run_flags: $(Run.Flags)
usePythonVersion: ${{ variables.default_python_version }}

0 comments on commit 7d62df6

Please sign in to comment.