2 # Azure Pipeline build file for building a platform.
4 # Platform: ArmVirtQemu
8 # Copyright (c) Microsoft Corporation.
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
22 vm_image: 'ubuntu-18.04'
24 run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
26 #Use matrix to speed up the build process
30 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
34 Run.Flags: $(run_flags)
37 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
40 Build.Target: "RELEASE"
41 Run.Flags: $(run_flags)
44 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
48 Run.Flags: $(run_flags)
51 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
55 Run.Flags: $(run_flags)
58 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
61 Build.Target: "RELEASE"
62 Run.Flags: $(run_flags)
65 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
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)
89 - bash: sudo apt-get install qemu
90 displayName: Install qemu
91 condition: and(gt(variables.pkg_count, 0), succeeded())