]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml
EmulatorPkg: CI: Use Fedora 35 container (Linux only)
[mirror_edk2.git] / EmulatorPkg / PlatformCI / .azurepipelines / Ubuntu-GCC5.yml
CommitLineData
951a0353
SB
1## @file\r
2# Azure Pipeline build file for building a platform.\r
3#\r
4# Platform: EmulatorPkg\r
5# OS: Ubuntu\r
6# Toolchain: GCC5\r
7#\r
8# Copyright (c) Microsoft Corporation.\r
2e14ee75 9# Copyright (c) 2020, Intel Corporation. All rights reserved.\r
951a0353
SB
10# SPDX-License-Identifier: BSD-2-Clause-Patent\r
11##\r
12trigger:\r
13 - master\r
e690b810 14 - stable/*\r
951a0353
SB
15pr:\r
16 - master\r
e690b810 17 - stable/*\r
7d62df62
OS
18\r
19variables:\r
20 - template: ../../../.azurepipelines/templates/defaults.yml\r
21\r
951a0353
SB
22jobs:\r
23 - job: Platform_CI\r
24 variables:\r
25 package: 'EmulatorPkg'\r
3ce3274a 26 vm_image: 'ubuntu-18.04'\r
951a0353
SB
27 should_run: false\r
28 run_flags: "MAKE_STARTUP_NSH=TRUE"\r
29\r
30 #Use matrix to speed up the build process\r
31 strategy:\r
32 matrix:\r
33 EmulatorPkg_X64_DEBUG:\r
34 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
35 Build.Arch: "X64"\r
36 Build.Flags: ""\r
37 Build.Target: "DEBUG"\r
38 Run.Flags: $(run_flags)\r
39 Run: $(should_run)\r
40 EmulatorPkg_X64_RELEASE:\r
41 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
42 Build.Arch: "X64"\r
43 Build.Flags: ""\r
44 Build.Target: "RELEASE"\r
45 Run.Flags: $(run_flags)\r
46 Run: $(should_run)\r
47 EmulatorPkg_X64_NOOPT:\r
48 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
49 Build.Arch: "X64"\r
50 Build.Flags: ""\r
51 Build.Target: "NOOPT"\r
52 Run.Flags: $(run_flags)\r
53 Run: $(should_run)\r
2e14ee75
MK
54 EmulatorPkg_X64_FULL_DEBUG:\r
55 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
56 Build.Arch: "X64"\r
57 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
58 Build.Target: "DEBUG"\r
59 Run.Flags: $(run_flags)\r
60 Run: $(should_run)\r
61 EmulatorPkg_X64_FULL_RELEASE:\r
62 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
63 Build.Arch: "X64"\r
64 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
65 Build.Target: "RELEASE"\r
66 Run.Flags: $(run_flags)\r
67 Run: $(should_run)\r
68 EmulatorPkg_X64_FULL_NOOPT:\r
69 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
70 Build.Arch: "X64"\r
71 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
72 Build.Target: "NOOPT"\r
73 Run.Flags: $(run_flags)\r
74 Run: $(should_run)\r
951a0353
SB
75\r
76 workspace:\r
77 clean: all\r
78\r
79 pool:\r
80 vmImage: $(vm_image)\r
81\r
32c76a8c
OS
82 container: ${{ variables.default_linux_image }}\r
83\r
951a0353
SB
84 steps:\r
85 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml\r
86 parameters:\r
87 tool_chain_tag: GCC5\r
88 build_pkg: $(package)\r
89 build_target: $(Build.Target)\r
90 build_arch: $(Build.Arch)\r
91 build_file: $(Build.File)\r
92 build_flags: $(Build.Flags)\r
93 run_flags: $(Run.Flags)\r
32c76a8c 94 usePythonVersion: '' # use Python from the container image\r