microsoft/mu_feature_ffa

Public

mirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.1.4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.azurepipelines/MuDevOpsWrapper.yml

121lines · modecode

1## @file
2# Azure Pipeline build file for a build using mu_devops.
3#
4# To upload coverage results, set `coverage_upload_target` to `ado` or `codecov`.
5#
6# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there
7# instead of the file in this repo.
8#
9# - Mu DevOps Repo: https://github.com/microsoft/mu_devops
10# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml
11#
12# Copyright (c) Microsoft Corporation.
13# SPDX-License-Identifier: BSD-2-Clause-Patent
14##
15
16resources:
17 repositories:
18 - repository: mu_devops
19 type: github
20 endpoint: microsoft
21 name: microsoft/mu_devops
22 ref: refs/tags/v18.0.3
23
24parameters:
25- name: do_ci_build
26 displayName: Perform Stuart CI Build
27 type: boolean
28 default: true
29- name: do_ci_setup
30 displayName: Perform Stuart CI Setup
31 type: boolean
32 default: true
33- name: do_non_ci_build
34 displayName: Perform non-CI Stuart Build
35 type: boolean
36 default: false
37- name: do_non_ci_setup
38 displayName: Perform non-CI Stuart Setup
39 type: boolean
40 default: false
41- name: do_pr_eval
42 displayName: Perform Stuart PR Evaluation
43 type: boolean
44 default: true
45- name: container_build
46 displayName: Flag for whether this repo should do stuart_setup
47 type: boolean
48 default: false
49- name: os_type
50 displayName: OS type on the self-hosted agent pools
51 type: string
52 values:
53 - Windows_NT
54 - Linux
55 default: Windows_NT
56- name: build_matrix
57 displayName: Build matrix for this repository
58 type: object
59- name: pool_name
60 displayName: Variable name that hosts pool name to be used for self-hosted agents
61 type: string
62 default: pool_name
63- name: extra_install_step
64 displayName: Extra Install Steps
65 type: stepList
66 default:
67 - script: echo No extra steps provided
68- name: extra_jobs
69 displayName: Extra Jobs to be run after build
70 type: jobList
71 default: []
72- name: rust_build
73 displayName: Whether Rust code is being built
74 type: boolean
75 default: false
76- name: extra_cargo_steps
77 displayName: Extra Steps to Run Before Standard Cargo Steps
78 type: stepList
79 default:
80 - script: echo No extra cargo steps provided
81
82jobs:
83- template: Jobs/PrGate.yml@mu_devops
84 parameters:
85 linux_container_image: ghcr.io/microsoft/mu_devops/ubuntu-24-build:737aacc
86 ${{ if eq(parameters.rust_build, true) }}:
87 linux_container_options: --security-opt seccomp=unconfined
88 do_ci_build: ${{ parameters.do_ci_build }}
89 do_ci_setup: ${{ parameters.do_ci_setup }}
90 do_pr_eval: ${{ parameters.do_pr_eval }}
91 do_non_ci_setup: ${{ parameters.do_non_ci_setup }}
92 do_non_ci_build: ${{ parameters.do_non_ci_build }}
93 build_matrix: ${{ parameters.build_matrix }}
94 os_type: ${{ parameters.os_type }}
95 pool_name: ${{ parameters.pool_name }}
96 extra_install_step: ${{ parameters.extra_install_step }}
97 tool_chain_tag: $(tool_chain_tag)
98 vm_image: $(vm_image)
99 container_build: ${{ parameters.container_build }}
100 rust_build: ${{ parameters.rust_build }}
101
102- ${{ if eq(parameters.rust_build, true) }}:
103 - job: CargoCmds
104 displayName: Workspace Cargo Commands
105
106 container:
107
108 image: ghcr.io/microsoft/mu_devops/ubuntu-24-build:737aacc
109 options: --user root --name mu_devops_build_container --security-opt seccomp=unconfined
110
111 steps:
112 - checkout: self
113 fetchDepth: 1
114 clean: true
115 - ${{ parameters.extra_cargo_steps }}
116 - template: Steps/RustCargoSteps.yml@mu_devops
117 parameters:
118 container_build: true
119
120- ${{ parameters.extra_jobs }}
121
122