Details about a particular pipeline change over time - such as the specific Linux distro or toolchain version. At the same time, the pipeline files are directly referenced in Azure Pipelines to run the pipeline and few users have access to change those details. To make the files less likely to refer to outdated information over time and reduce the need for an Azure Pipeline administrator to get involved, the files are updated to drop specific details apart from the host OS environment used in the pipeline. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
27 lines
762 B
YAML
27 lines
762 B
YAML
## @file
|
|
# 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>
|
|
# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
trigger:
|
|
- master
|
|
- stable/*
|
|
pr:
|
|
- master
|
|
- stable/*
|
|
|
|
variables:
|
|
- template: templates/defaults.yml
|
|
|
|
jobs:
|
|
- template: templates/pr-gate-build-job.yml
|
|
parameters:
|
|
tool_chain_tag: 'GCC5'
|
|
vm_image: 'ubuntu-22.04'
|
|
container: ${{ variables.default_linux_image }}
|
|
arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64"
|
|
usePythonVersion: '' # use Python from the container image
|