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