Skip to content

Commit 391c7bf

Browse files
committed
Debug
1 parent 8cf44da commit 391c7bf

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/pr.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,20 @@ jobs:
6565
- name: Compute matrix outputs
6666
id: set-outputs
6767
run: |
68+
echo "=== Debug Info ==="
69+
echo "yq version: $(yq --version)"
70+
echo "jq version: $(jq --version)"
71+
echo ""
72+
echo "=== Matrix File Content ==="
73+
cat ci/matrix.yml
74+
echo ""
75+
echo "=== Running compute-matrix script ==="
6876
.github/actions/compute-matrix/compute-matrix.sh ci/matrix.yml pull_request
77+
echo ""
78+
echo "=== Output Variables ==="
79+
echo "CUDA_VERSIONS: ${{ steps.set-outputs.outputs.CUDA_VERSIONS }}"
80+
echo "HOST_COMPILERS: ${{ steps.set-outputs.outputs.HOST_COMPILERS }}"
81+
echo "PER_CUDA_COMPILER_MATRIX: ${{ steps.set-outputs.outputs.PER_CUDA_COMPILER_MATRIX }}"
6982
7083
ci:
7184
name: CUDA${{ matrix.cuda_version }} ${{ matrix.compiler }}
@@ -92,14 +105,23 @@ jobs:
92105
name: CI success
93106
if: ${{ always() }} # need to use always() instead of !cancelled() because skipped jobs count as success
94107
needs:
108+
- doxygen-check
95109
- ci
96110
- verify-devcontainers
97111
steps:
112+
- name: Debug - Print all job results
113+
run: |
114+
echo "=== Job Results Debug ==="
115+
echo "doxygen-check result: ${{ needs.doxygen-check.result }}"
116+
echo "ci result: ${{ needs.ci.result }}"
117+
echo "verify-devcontainers result: ${{ needs.verify-devcontainers.result }}"
118+
echo "=========================="
98119
- name: Check status of all precursor jobs
99120
if: >-
100121
${{
101122
contains(needs.*.result, 'failure')
102123
|| contains(needs.*.result, 'cancelled')
103-
|| contains(needs.*.result, 'skipped')
104124
}}
105-
run: exit 1
125+
run: |
126+
echo "❌ CI FAILED: One or more prerequisite jobs failed or were cancelled"
127+
exit 1

0 commit comments

Comments
 (0)