]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
EmulatorPkg: Use windows-2019 VM image
[mirror_edk2.git] / EmulatorPkg / PlatformCI / .azurepipelines / Windows-VS2019.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: Windows\r
6# Toolchain: VS2019\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
951a0353
SB
18\r
19jobs:\r
20 - job: Platform_CI\r
21 variables:\r
22 package: 'EmulatorPkg'\r
3b0de447 23 vm_image: 'windows-2019'\r
951a0353
SB
24 should_run: true\r
25 run_flags: "MAKE_STARTUP_NSH=TRUE"\r
26\r
27 #Use matrix to speed up the build process\r
28 strategy:\r
29 matrix:\r
30 EmulatorPkg_X64_DEBUG:\r
31 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
32 Build.Arch: "X64"\r
33 Build.Flags: ""\r
34 Build.Target: "DEBUG"\r
35 Run.Flags: $(run_flags)\r
36 Run: $(should_run)\r
37 EmulatorPkg_X64_RELEASE:\r
38 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
39 Build.Arch: "X64"\r
40 Build.Flags: ""\r
41 Build.Target: "RELEASE"\r
42 Run.Flags: $(run_flags)\r
43 Run: $(should_run)\r
44 EmulatorPkg_X64_NOOPT:\r
45 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
46 Build.Arch: "X64"\r
47 Build.Flags: ""\r
48 Build.Target: "NOOPT"\r
49 Run.Flags: $(run_flags)\r
50 Run: $(should_run)\r
51 EmulatorPkg_IA32_DEBUG:\r
52 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
53 Build.Arch: "IA32 "\r
54 Build.Flags: ""\r
55 Build.Target: "DEBUG"\r
56 Run.Flags: $(run_flags)\r
57 Run: $(should_run)\r
58 EmulatorPkg_IA32_RELEASE:\r
59 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
60 Build.Arch: "IA32 "\r
61 Build.Flags: ""\r
62 Build.Target: "RELEASE"\r
63 Run.Flags: $(run_flags)\r
64 Run: $(should_run)\r
65 EmulatorPkg_IA32_NOOPT:\r
66 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
67 Build.Arch: "IA32 "\r
68 Build.Flags: ""\r
69 Build.Target: "NOOPT"\r
70 Run.Flags: $(run_flags)\r
71 Run: $(should_run)\r
2e14ee75
MK
72 EmulatorPkg_X64_FULL_DEBUG:\r
73 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
74 Build.Arch: "X64"\r
75 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
76 Build.Target: "DEBUG"\r
77 Run.Flags: $(run_flags)\r
78 Run: $(should_run)\r
79 EmulatorPkg_X64_FULL_RELEASE:\r
80 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
81 Build.Arch: "X64"\r
82 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
83 Build.Target: "RELEASE"\r
84 Run.Flags: $(run_flags)\r
85 Run: $(should_run)\r
86 EmulatorPkg_X64_FULL_NOOPT:\r
87 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
88 Build.Arch: "X64"\r
89 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
90 Build.Target: "NOOPT"\r
91 Run.Flags: $(run_flags)\r
92 Run: $(should_run)\r
93 EmulatorPkg_IA32_FULL_DEBUG:\r
94 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
95 Build.Arch: "IA32"\r
96 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
97 Build.Target: "DEBUG"\r
98 Run.Flags: $(run_flags)\r
99 Run: $(should_run)\r
100 EmulatorPkg_IA32_FULL_RELEASE:\r
101 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
102 Build.Arch: "IA32"\r
103 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
104 Build.Target: "RELEASE"\r
105 Run.Flags: $(run_flags)\r
106 Run: $(should_run)\r
107 EmulatorPkg_IA32_FULL_NOOPT:\r
108 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
109 Build.Arch: "IA32"\r
110 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
111 Build.Target: "NOOPT"\r
112 Run.Flags: $(run_flags)\r
113 Run: $(should_run)\r
951a0353
SB
114\r
115 workspace:\r
116 clean: all\r
117\r
118 pool:\r
119 vmImage: $(vm_image)\r
120\r
121 steps:\r
122 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml\r
123 parameters:\r
124 tool_chain_tag: VS2019\r
125 build_pkg: $(package)\r
126 build_target: $(Build.Target)\r
127 build_arch: $(Build.Arch)\r
128 build_file: $(Build.File)\r
129 build_flags: $(Build.Flags)\r
130 run_flags: $(Run.Flags)\r