Skip to content

Commit fecd198

Browse files
Repo File Sync: synced file(s) with microsoft/mu_devops
Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
1 parent 7428fb6 commit fecd198

1 file changed

Lines changed: 94 additions & 0 deletions

File tree

.github/workflows/clangpdb-ci.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# A workflow to build EDKII packages using the CLANGPDB toolchain in windows and ubuntu environments.
2+
#
3+
# NOTE: This file is automatically synchronized from Mu DevOps to keep the version of the
4+
# workflow up to date. Update the original file there instead of the file in this repo.
5+
#
6+
# - Mu DevOps Repo: https://github.com/microsoft/mu_devops
7+
# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml
8+
#
9+
# Copyright (c) Microsoft Corporation.
10+
#
11+
# SPDX-License-Identifier: BSD-2-Clause-Patent
12+
#
13+
# NOTE: Because this pipeline YAML file is a Nunjucks template, the pipeline syntax of `{{}}` will conflict with
14+
# Nunjucks style. Surround pipeline YAML code that uses `{{}}` within `raw` and `endraw` tags
15+
# to allow it to pass through Nunjucks processing.
16+
17+
name: CLANGPDB Package CI
18+
19+
on:
20+
workflow_dispatch:
21+
push:
22+
branches:
23+
- main
24+
pull_request:
25+
branches:
26+
- main
27+
28+
jobs:
29+
package-matrix:
30+
name: Gather Repository Packages
31+
uses: microsoft/mu_devops/.github/workflows/PackageMatrix.yml@v18.0.4
32+
with:
33+
ci-config: '.pytool/CISettings.py'
34+
python-version: "3.12"
35+
# Default config applied to any undeclared packages in the repo
36+
default-config: |
37+
targets: ["DEBUG,RELEASE"]
38+
toolchain: ["CLANGPDB"]
39+
package-config: |
40+
- packages: OneCryptoPkg
41+
targets: NO-TARGET
42+
toolchain: CLANGPDB
43+
- packages: MbedTlsPkg
44+
targets: NO-TARGET
45+
toolchain: CLANGPDB
46+
- packages: MbedTlsPkg
47+
targets: DEBUG
48+
toolchain: CLANGPDB
49+
- packages: MbedTlsPkg
50+
targets: RELEASE
51+
toolchain: CLANGPDB
52+
- packages: OpensslPkg
53+
targets: NO-TARGET
54+
toolchain: CLANGPDB
55+
- packages: OpensslPkg
56+
targets: DEBUG
57+
toolchain: CLANGPDB
58+
- packages: OpensslPkg
59+
targets: RELEASE
60+
toolchain: CLANGPDB
61+
62+
63+
windows-ci:
64+
name: Windows CLANGPDB CI
65+
66+
if: ${{ needs.package-matrix.outputs.matrix != '' }}
67+
68+
needs: package-matrix
69+
70+
uses: microsoft/mu_devops/.github/workflows/PackageCi.yml@v18.0.4
71+
72+
with:
73+
runner: windows-latest
74+
setup-cmd: both
75+
python-version: "3.12"
76+
package-config: ${{ needs.package-matrix.outputs.matrix }}
77+
78+
79+
ubuntu-ci:
80+
name: Ubuntu CLANGPDB CI
81+
82+
if: ${{ needs.package-matrix.outputs.matrix != '' }}
83+
84+
needs: package-matrix
85+
86+
uses: microsoft/mu_devops/.github/workflows/PackageCi.yml@v18.0.4
87+
88+
with:
89+
runner: ubuntu-latest
90+
setup-cmd: both
91+
container: ghcr.io/microsoft/mu_devops/ubuntu-24-build:737aacc
92+
python-version: "3.12"
93+
package-config: ${{ needs.package-matrix.outputs.matrix }}
94+

0 commit comments

Comments
 (0)