From 789970d0adf40a24bdeeb63adbdb86e422553fc5 Mon Sep 17 00:00:00 2001 From: "mu-automation[bot]" <204385837+mu-automation[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 16:31:44 +0000 Subject: [PATCH] Repo File Sync: synced file(s) with microsoft/mu_devops Signed-off-by: Project Mu UEFI Bot --- .github/workflows/clangpdb-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/clangpdb-ci.yml b/.github/workflows/clangpdb-ci.yml index d08d478..a5fea87 100644 --- a/.github/workflows/clangpdb-ci.yml +++ b/.github/workflows/clangpdb-ci.yml @@ -25,6 +25,11 @@ on: branches: - main +concurrency: + group: clangpdb-package-ci-${{ github.ref }} + + cancel-in-progress: true + jobs: package-matrix: name: Gather Repository Packages @@ -69,3 +74,24 @@ jobs: python-version: "3.12" package-config: ${{ needs.package-matrix.outputs.matrix }} + + final: + name: Collapse Results + if: ${{ always() }} + + needs: [ubuntu-ci, windows-ci] + runs-on: ubuntu-latest + + steps: + - name: Check Matrix Jobs Results + run: | + echo "Ubuntu CI result: ${{ needs.ubuntu-ci.result }}" + echo "Windows CI result: ${{ needs.windows-ci.result }}" + + if [[ "${{ needs.ubuntu-ci.result }}" == "failure" || "${{ needs.windows-ci.result }}" == "failure" ]]; then + echo "One or more CI jobs failed" + exit 1 + else + echo "All ubuntu and windows CI matrix jobs completed successfully" + fi +