mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
OvmfPkg: CI: Use Fedora 35 container (Linux only)
Run the Linux jobs of the OvmfPkg platform CI inside a container, in the same way the general CI does now. Make use of the default image specified in the defaults.yml template. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Use Python from the container image, do not download at runtime. Signed-off-by: Oliver Steffen <osteffen@redhat.com> Acked-by: Jiewen Yao <jiewen.yao@intel.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>
This commit is contained in:
parent
32c76a8cd4
commit
7fab007f33
@ -180,6 +180,8 @@ jobs:
|
|||||||
pool:
|
pool:
|
||||||
vmImage: $(vm_image)
|
vmImage: $(vm_image)
|
||||||
|
|
||||||
|
container: ${{ variables.default_linux_image }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
||||||
parameters:
|
parameters:
|
||||||
@ -190,8 +192,4 @@ jobs:
|
|||||||
build_file: $(Build.File)
|
build_file: $(Build.File)
|
||||||
build_flags: $(Build.Flags)
|
build_flags: $(Build.Flags)
|
||||||
run_flags: $(Run.Flags)
|
run_flags: $(Run.Flags)
|
||||||
usePythonVersion: ${{ variables.default_python_version }}
|
usePythonVersion: '' # use Python from the container image
|
||||||
extra_install_step:
|
|
||||||
- bash: sudo apt-get install qemu
|
|
||||||
displayName: Install qemu
|
|
||||||
condition: and(gt(variables.pkg_count, 0), succeeded())
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user