Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/clangpdb-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Loading