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
20 vm_image: 'ubuntu-latest'
22 run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
24 #Use matrix to speed up the build process
28 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
32 Run.Flags: $(run_flags)
35 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
38 Build.Target: "RELEASE"
39 Run.Flags: $(run_flags)
42 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
46 Run.Flags: $(run_flags)
49 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
53 Run.Flags: $(run_flags)
56 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
59 Build.Target: "RELEASE"
60 Run.Flags: $(run_flags)
63 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
67 Run.Flags: $(run_flags)
77 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
81 build_target: $(Build.Target)
82 build_arch: $(Build.Arch)
83 build_file: $(Build.File)
84 build_flags: $(Build.Flags)
85 run_flags: $(Run.Flags)
87 - bash: sudo apt-get install qemu
88 displayName: Install qemu
89 condition: and(gt(variables.pkg_count, 0), succeeded())