Run the Linux jobs of the EmulatorPkg 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.
Use Python from the container image, do not download at 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>
pool:\r
vmImage: $(vm_image)\r
\r
+ container: ${{ variables.default_linux_image }}\r
+\r
steps:\r
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml\r
parameters:\r
build_file: $(Build.File)\r
build_flags: $(Build.Flags)\r
run_flags: $(Run.Flags)\r
- usePythonVersion: ${{ variables.default_python_version }}\r
+ usePythonVersion: '' # use Python from the container image\r