Skip to content

Commit

Permalink
.azurepipelines: Use new Mu DevOps YAML Design (#12)
Browse files Browse the repository at this point in the history
- Triggers and schedules will be set in pipeline definitions
- Variable groups are used to centralize common settings

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
  • Loading branch information
makubacki committed Oct 22, 2022
1 parent d5b10c9 commit 0124d6f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 39 deletions.
27 changes: 7 additions & 20 deletions .azurepipelines/Ubuntu-GCC5.yml
@@ -1,5 +1,5 @@
## @file
# Azure Pipeline build file for a build using ubuntu and GCC5
# Azure Pipeline build file for a build using ubuntu and GCC
#
# Copyright (c) Microsoft Corporation.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
Expand All @@ -14,27 +14,14 @@ resources:
name: microsoft/mu_devops
ref: main

trigger:
- dev/*
- release/*

pr:
- dev/*
- release/*

schedules:
- cron: "30 9 * * 0,3" # Sun/Wed at 2:30AM Pacific
displayName: Sun/Wed Build
branches:
include:
- dev/*
- release/*
always: true # Always build, even if no changes
variables:
- group: architectures-arm-64-x86-64
- group: tool-chain-ubuntu-gcc

jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
arch_list: IA32,X64,ARM,AARCH64
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
do_non_ci_setup: true
Expand All @@ -43,6 +30,6 @@ jobs:
displayName: Install Windows Resource Compiler for Linux
packages: OemPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: GCC5
vm_image: ubuntu-latest
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)

25 changes: 6 additions & 19 deletions .azurepipelines/Windows-VS.yml
Expand Up @@ -13,31 +13,18 @@ resources:
name: microsoft/mu_devops
ref: main

trigger:
- dev/*
- release/*

pr:
- dev/*
- release/*

schedules:
- cron: "0 8 * * 0,3" # Sun/Wed at 1AM Pacific
displayName: Sun/Wed Build
branches:
include:
- dev/*
- release/*
always: true # Always build, even if no changes
variables:
- group: architectures-x86-64
- group: tool-chain-windows-visual-studio-latest

jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
arch_list: IA32,X64
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
do_non_ci_setup: true
packages: OemPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: VS2022
vm_image: windows-2022
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)

0 comments on commit 0124d6f

Please sign in to comment.