2 # Azure Pipeline build file for building a platform.
4 # Platform: EmulatorPkg
8 # Copyright (c) Microsoft Corporation.
9 # Copyright (c) 2020, Intel Corporation. All rights reserved.
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
20 - template: ../../../.azurepipelines/templates/defaults.yml
25 package: 'EmulatorPkg'
26 vm_image: 'ubuntu-22.04'
28 run_flags: "MAKE_STARTUP_NSH=TRUE"
30 #Use matrix to speed up the build process
33 EmulatorPkg_X64_DEBUG:
34 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
38 Run.Flags: $(run_flags)
40 EmulatorPkg_X64_RELEASE:
41 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
44 Build.Target: "RELEASE"
45 Run.Flags: $(run_flags)
47 EmulatorPkg_X64_NOOPT:
48 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
52 Run.Flags: $(run_flags)
54 EmulatorPkg_X64_FULL_DEBUG:
55 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
57 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
59 Run.Flags: $(run_flags)
61 EmulatorPkg_X64_FULL_RELEASE:
62 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
64 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
65 Build.Target: "RELEASE"
66 Run.Flags: $(run_flags)
68 EmulatorPkg_X64_FULL_NOOPT:
69 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
71 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
73 Run.Flags: $(run_flags)
82 container: ${{ variables.default_linux_image }}
85 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
89 build_target: $(Build.Target)
90 build_arch: $(Build.Arch)
91 build_file: $(Build.File)
92 build_flags: $(Build.Flags)
93 run_flags: $(Run.Flags)
94 usePythonVersion: '' # use Python from the container image