]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
EmulatorPkg: CI: use Python version from defaults template
[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 18\r
7d62df62
OS
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
3b0de447 26 vm_image: 'windows-2019'\r
951a0353
SB
27 should_run: true\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
54 EmulatorPkg_IA32_DEBUG:\r
55 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
56 Build.Arch: "IA32 "\r
57 Build.Flags: ""\r
58 Build.Target: "DEBUG"\r
59 Run.Flags: $(run_flags)\r
60 Run: $(should_run)\r
61 EmulatorPkg_IA32_RELEASE:\r
62 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
63 Build.Arch: "IA32 "\r
64 Build.Flags: ""\r
65 Build.Target: "RELEASE"\r
66 Run.Flags: $(run_flags)\r
67 Run: $(should_run)\r
68 EmulatorPkg_IA32_NOOPT:\r
69 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
70 Build.Arch: "IA32 "\r
71 Build.Flags: ""\r
72 Build.Target: "NOOPT"\r
73 Run.Flags: $(run_flags)\r
74 Run: $(should_run)\r
2e14ee75
MK
75 EmulatorPkg_X64_FULL_DEBUG:\r
76 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
77 Build.Arch: "X64"\r
78 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
79 Build.Target: "DEBUG"\r
80 Run.Flags: $(run_flags)\r
81 Run: $(should_run)\r
82 EmulatorPkg_X64_FULL_RELEASE:\r
83 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
84 Build.Arch: "X64"\r
85 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
86 Build.Target: "RELEASE"\r
87 Run.Flags: $(run_flags)\r
88 Run: $(should_run)\r
89 EmulatorPkg_X64_FULL_NOOPT:\r
90 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
91 Build.Arch: "X64"\r
92 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
93 Build.Target: "NOOPT"\r
94 Run.Flags: $(run_flags)\r
95 Run: $(should_run)\r
96 EmulatorPkg_IA32_FULL_DEBUG:\r
97 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
98 Build.Arch: "IA32"\r
99 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
100 Build.Target: "DEBUG"\r
101 Run.Flags: $(run_flags)\r
102 Run: $(should_run)\r
103 EmulatorPkg_IA32_FULL_RELEASE:\r
104 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
105 Build.Arch: "IA32"\r
106 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
107 Build.Target: "RELEASE"\r
108 Run.Flags: $(run_flags)\r
109 Run: $(should_run)\r
110 EmulatorPkg_IA32_FULL_NOOPT:\r
111 Build.File: "$(package)/PlatformCI/PlatformBuild.py"\r
112 Build.Arch: "IA32"\r
113 Build.Flags: "BLD_*_SECURE_BOOT_ENABLE=TRUE"\r
114 Build.Target: "NOOPT"\r
115 Run.Flags: $(run_flags)\r
116 Run: $(should_run)\r
951a0353
SB
117\r
118 workspace:\r
119 clean: all\r
120\r
121 pool:\r
122 vmImage: $(vm_image)\r
123\r
124 steps:\r
125 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml\r
126 parameters:\r
127 tool_chain_tag: VS2019\r
128 build_pkg: $(package)\r
129 build_target: $(Build.Target)\r
130 build_arch: $(Build.Arch)\r
131 build_file: $(Build.File)\r
132 build_flags: $(Build.Flags)\r
133 run_flags: $(Run.Flags)\r
7d62df62 134 usePythonVersion: ${{ variables.default_python_version }}\r