Skip to content

Commit 8fa7491

Browse files
Repo File Sync: ClangPDB CI workflow updates (#1396)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#24354454229](https://github.com/microsoft/mu_devops/actions/runs/24354454229) Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com> Co-authored-by: mu-automation[bot] <204385837+mu-automation[bot]@users.noreply.github.com>
1 parent 0fd19cb commit 8fa7491

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/clangpdb-ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ on:
2525
branches:
2626
- main
2727

28+
concurrency:
29+
group: clangpdb-package-ci-${{ github.ref }}
30+
31+
cancel-in-progress: true
32+
2833
jobs:
2934
package-matrix:
3035
name: Gather Repository Packages
@@ -69,3 +74,24 @@ jobs:
6974
python-version: "3.12"
7075
package-config: ${{ needs.package-matrix.outputs.matrix }}
7176

77+
78+
final:
79+
name: Collapse Results
80+
if: ${{ always() }}
81+
82+
needs: [ubuntu-ci, windows-ci]
83+
runs-on: ubuntu-latest
84+
85+
steps:
86+
- name: Check Matrix Jobs Results
87+
run: |
88+
echo "Ubuntu CI result: ${{ needs.ubuntu-ci.result }}"
89+
echo "Windows CI result: ${{ needs.windows-ci.result }}"
90+
91+
if [[ "${{ needs.ubuntu-ci.result }}" == "failure" || "${{ needs.windows-ci.result }}" == "failure" ]]; then
92+
echo "One or more CI jobs failed"
93+
exit 1
94+
else
95+
echo "All ubuntu and windows CI matrix jobs completed successfully"
96+
fi
97+

0 commit comments

Comments
 (0)