mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 21:40:22 +01:00
ci: show diff when clang-format check fails
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23258>
This commit is contained in:
parent
648b5f3070
commit
480204aeed
1 changed files with 2 additions and 1 deletions
|
|
@ -42,9 +42,10 @@ clang-format:
|
|||
LLVM_VERSION: 15
|
||||
script:
|
||||
- shopt -s globstar
|
||||
- clang-format-${LLVM_VERSION:?} --Werror --dry-run
|
||||
- clang-format-${LLVM_VERSION:?} --Werror -i
|
||||
src/**/asahi/**/*.{h,c,cpp}
|
||||
src/**/panfrost/**/*.{h,c,cpp}
|
||||
- git diff --exit-code # Fails if there are diffs
|
||||
|
||||
.test-gl:
|
||||
extends:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue