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
21 package: 'EmulatorPkg'
22 vm_image: 'ubuntu-18.04'
24 run_flags: "MAKE_STARTUP_NSH=TRUE"
26 #Use matrix to speed up the build process
29 EmulatorPkg_X64_DEBUG:
30 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
34 Run.Flags: $(run_flags)
36 EmulatorPkg_X64_RELEASE:
37 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
40 Build.Target: "RELEASE"
41 Run.Flags: $(run_flags)
43 EmulatorPkg_X64_NOOPT:
44 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
48 Run.Flags: $(run_flags)
50 EmulatorPkg_X64_FULL_DEBUG:
51 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
53 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
55 Run.Flags: $(run_flags)
57 EmulatorPkg_X64_FULL_RELEASE:
58 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
60 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
61 Build.Target: "RELEASE"
62 Run.Flags: $(run_flags)
64 EmulatorPkg_X64_FULL_NOOPT:
65 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
67 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"
69 Run.Flags: $(run_flags)
79 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
83 build_target: $(Build.Target)
84 build_arch: $(Build.Arch)
85 build_file: $(Build.File)
86 build_flags: $(Build.Flags)
87 run_flags: $(Run.Flags)