mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Global: Move Azure Pipelines vmImage defaults to defaults.yml
The pool vmImage for running Azure Pipelines jobs is always either 'windows-2022' or 'ubuntu-24.02'. Move these default values to defaults.yml so they can be changed in one location in future. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
This commit is contained in:
parent
a631987420
commit
0583e536b1
8 changed files with 9 additions and 7 deletions
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- template: templates/pr-gate-build-job.yml
|
||||
parameters:
|
||||
tool_chain_tag: GCC
|
||||
vm_image: 'ubuntu-24.04'
|
||||
vm_image: ${{ variables.default_linux_vm }}
|
||||
container: ${{ variables.default_linux_image }}
|
||||
arch_list: "IA32,X64,AARCH64,RISCV64,LOONGARCH64"
|
||||
usePythonVersion: '' # use Python from the container image
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- template: templates/pr-gate-build-job.yml
|
||||
parameters:
|
||||
tool_chain_tag: 'VS2022'
|
||||
vm_image: 'windows-2022'
|
||||
vm_image: ${{ variables.default_windows_vm }}
|
||||
arch_list: "IA32,X64"
|
||||
usePythonVersion: ${{ variables.default_python_version }}
|
||||
extra_install_step:
|
||||
|
|
|
|||
|
|
@ -10,3 +10,5 @@
|
|||
variables:
|
||||
default_python_version: "3.12"
|
||||
default_linux_image: "ghcr.io/tianocore/containers/fedora-43-test:bde74f8"
|
||||
default_linux_vm: "ubuntu-24.04"
|
||||
default_windows_vm: "windows-2022"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
- job: Platform_CI
|
||||
variables:
|
||||
package: 'ArmVirtPkg'
|
||||
vm_image: 'ubuntu-24.04'
|
||||
vm_image: ${{ variables.default_linux_vm }}
|
||||
should_run: true
|
||||
run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- job: Platform_CI
|
||||
variables:
|
||||
package: 'EmulatorPkg'
|
||||
vm_image: 'ubuntu-24.04'
|
||||
vm_image: ${{ variables.default_linux_vm }}
|
||||
should_run: false
|
||||
run_flags: "MAKE_STARTUP_NSH=TRUE"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- job: Platform_CI
|
||||
variables:
|
||||
package: 'EmulatorPkg'
|
||||
vm_image: 'windows-2022'
|
||||
vm_image: ${{ variables.default_windows_vm }}
|
||||
should_run: true
|
||||
run_flags: "MAKE_STARTUP_NSH=TRUE"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
- job: Platform_CI
|
||||
variables:
|
||||
package: 'OvmfPkg'
|
||||
vm_image: 'ubuntu-24.04'
|
||||
vm_image: ${{ variables.default_linux_vm }}
|
||||
should_run: true
|
||||
run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
- job: Platform_CI
|
||||
variables:
|
||||
package: 'OvmfPkg'
|
||||
vm_image: 'windows-2022'
|
||||
vm_image: ${{ variables.default_windows_vm }}
|
||||
should_run: true
|
||||
run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue