-
Notifications
You must be signed in to change notification settings - Fork 6
61 lines (58 loc) · 1.82 KB
/
upl-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# @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