edk2/.github/workflows/upl-build.yml
Michael Kubacki 48f4a7ab0b .github/workflows/upl-build.yml: Remove redundant pip requirements
This currently passes `pefile pylibfdt` to BuildPlatform.yml. However,
those are included in the same pip installation step that installs
the from pip-requirements.txt. This removes them so the dependency
details can be maintained in one place which is pip-requirements.txt.

This also allows local pip installation to install the same versions
installed in CI.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2026-08-25 19:24:45 +00:00

59 lines
1.7 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_vs2026:
strategy:
matrix:
os: [windows-2025]
python-version: ['3.12']
tool-chain: ['VS2026']
target: ['DEBUG']
extra-build-args: ['FIT_BUILD=TRUE', 'FIT_BUILD=FALSE']
name: Build UPL VS2026
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-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-setup-cmd: 'sudo dnf install -y llvm clang llvm-libs llvm-devel lldb'
extra-artifact-path: |
Build/**/*.elf
Build/**/*.fit