]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
EmulatorPkg: Add Platform CI and configuration for Core CI
[mirror_edk2.git] / EmulatorPkg / PlatformCI / .azurepipelines / Windows-VS2019.yml
1 ## @file
2 # Azure Pipeline build file for building a platform.
3 #
4 # Platform: EMULATORPKG
5 # OS: Windows
6 # Toolchain: VS2019
7 #
8 # Copyright (c) Microsoft Corporation.
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 ##
11 trigger:
12 - master
13 pr:
14 - master
15
16 jobs:
17 - job: Platform_CI
18 variables:
19 package: 'EmulatorPkg'
20 vm_image: 'windows-latest'
21 should_run: true
22 run_flags: "MAKE_STARTUP_NSH=TRUE"
23
24 #Use matrix to speed up the build process
25 strategy:
26 matrix:
27 EmulatorPkg_X64_DEBUG:
28 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
29 Build.Arch: "X64"
30 Build.Flags: ""
31 Build.Target: "DEBUG"
32 Run.Flags: $(run_flags)
33 Run: $(should_run)
34 EmulatorPkg_X64_RELEASE:
35 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
36 Build.Arch: "X64"
37 Build.Flags: ""
38 Build.Target: "RELEASE"
39 Run.Flags: $(run_flags)
40 Run: $(should_run)
41 EmulatorPkg_X64_NOOPT:
42 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
43 Build.Arch: "X64"
44 Build.Flags: ""
45 Build.Target: "NOOPT"
46 Run.Flags: $(run_flags)
47 Run: $(should_run)
48 EmulatorPkg_IA32_DEBUG:
49 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
50 Build.Arch: "IA32 "
51 Build.Flags: ""
52 Build.Target: "DEBUG"
53 Run.Flags: $(run_flags)
54 Run: $(should_run)
55 EmulatorPkg_IA32_RELEASE:
56 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
57 Build.Arch: "IA32 "
58 Build.Flags: ""
59 Build.Target: "RELEASE"
60 Run.Flags: $(run_flags)
61 Run: $(should_run)
62 EmulatorPkg_IA32_NOOPT:
63 Build.File: "$(package)/PlatformCI/PlatformBuild.py"
64 Build.Arch: "IA32 "
65 Build.Flags: ""
66 Build.Target: "NOOPT"
67 Run.Flags: $(run_flags)
68 Run: $(should_run)
69
70 workspace:
71 clean: all
72
73 pool:
74 vmImage: $(vm_image)
75
76 steps:
77 - template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
78 parameters:
79 tool_chain_tag: VS2019
80 build_pkg: $(package)
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)