edk2/.github/workflows/upl-build.yml
Gua Guo 2b6f979744
Some checks failed
CodeQL / Analyze (IA32, CryptoPkg) (push) Has been cancelled
CodeQL / Analyze (IA32, MdeModulePkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, DynamicTablesPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, FatPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, FmpDevicePkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, IntelFsp2Pkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, IntelFsp2WrapperPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, MdePkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, PcAtChipsetPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, PrmPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, SecurityPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, ShellPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, SourceLevelDebugPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, StandaloneMmPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, UefiCpuPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, UnitTestFrameworkPkg) (push) Has been cancelled
CodeQL / Analyze (X64, CryptoPkg) (push) Has been cancelled
CodeQL / Analyze (X64, MdeModulePkg) (push) Has been cancelled
UPL Build / Build UPL VS2022 (FIT_BUILD=FALSE, windows-latest, 3.12, DEBUG, VS2022) (push) Has been cancelled
UPL Build / Build UPL VS2022 (FIT_BUILD=TRUE, windows-latest, 3.12, DEBUG, VS2022) (push) Has been cancelled
UPL Build / Build UPL GCC (FIT_BUILD=FALSE, ubuntu-latest, 3.12, DEBUG, GCC) (push) Has been cancelled
UPL Build / Build UPL GCC (FIT_BUILD=TRUE, ubuntu-latest, 3.12, DEBUG, GCC) (push) Has been cancelled
Stale Check / Stale (push) Has been cancelled
Scheduled Maintenance / repo_cleanup (push) Has been cancelled
workflows: Add UniversalPayload in to git work flow
Add UPL fit binary build
Add UPL elf binary build

Signed-off-by: Gua Guo <gua.guo@intel.com>
2025-03-09 02:22:38 +08:00

62 lines
1.8 KiB
YAML

# @file up-build.yml
#
# A workflow that builds UefiPayloadPackage's UPL and upload it's artifacts.
#
##
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
name: UPL Build
on:
workflow_dispatch:
push:
branches: ['master']
jobs:
build_vs2022:
strategy:
matrix:
os: [windows-latest]
python-version: ['3.12']
tool-chain: ['VS2022']
target: ['DEBUG']
extra-build-args: ['FIT_BUILD=TRUE', 'FIT_BUILD=FALSE']
name: Build UPL VS2022
uses: ./.github/workflows/BuildPlatform.yml
with:
runs-on: ${{ matrix.os }}
build-file: 'UefiPayloadPkg/PlatformCI/PlatformBuild.py'
python-version: ${{ matrix.python-version }}
tool-chain: ${{ matrix.tool-chain }}
target: ${{ matrix.target }}
extra-build-args: ${{ matrix.extra-build-args }}
extra-pip-requirements: 'pefile pylibfdt'
extra-artifact-path: |
Build/**/*.elf
Build/**/*.fit
secrets: inherit
build_gcc:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.12']
tool-chain: ['GCC']
target: ['DEBUG']
extra-build-args: ['FIT_BUILD=TRUE', 'FIT_BUILD=FALSE']
name: Build UPL GCC
uses: ./.github/workflows/BuildPlatform.yml
with:
runs-on: ${{ matrix.os }}
build-file: 'UefiPayloadPkg/PlatformCI/PlatformBuild.py'
python-version: ${{ matrix.python-version }}
tool-chain: ${{ matrix.tool-chain }}
target: ${{ matrix.target }}
extra-build-args: ${{ matrix.extra-build-args }}
extra-pip-requirements: 'pefile pylibfdt'
extra-setup-cmd: 'sudo dnf install -y llvm clang llvm-libs llvm-devel lldb'
extra-artifact-path: |
Build/**/*.elf
Build/**/*.fit