diff --git a/.github/workflows/spirv-ci.yml b/.github/workflows/spirv-ci.yml index e07faa133..7921aa527 100644 --- a/.github/workflows/spirv-ci.yml +++ b/.github/workflows/spirv-ci.yml @@ -15,7 +15,6 @@ on: pull_request: branches: [amd-staging] types: [opened, synchronize, reopened, labeled] - workflow_dispatch: permissions: contents: read @@ -142,8 +141,15 @@ jobs: cmake -G Ninja -S llvm-project/llvm -B build ninja -C build check-amd-llvm-spirv 2>&1 \ | tee build/check-amd-llvm-spirv-baseline.log + + - name: Capture baseline translator failures + # Split from the lit step so a non-zero ninja exit (lit failures + + # set -o pipefail under bash -e) doesn't skip this grep. + if: github.event_name == 'pull_request' && always() + run: | grep -oE '^FAIL: LLVM_SPIRV :: \S+' build/check-amd-llvm-spirv-baseline.log \ | sort -u > build/spirv-fails-baseline.txt || true + echo "Baseline failures:"; cat build/spirv-fails-baseline.txt - name: Post translator lit summary to PR if: github.event_name == 'pull_request' && always()