ci: Run clang-format on panfrost
So we don't regress formatting in the future. This should never really trigger if people configure their editors correctly, but it can help avoid regressing the formatting from drive-by patches. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22372>
This commit is contained in:

committed by
Marge Bot

parent
c7bf3b69eb
commit
7582752233
@@ -985,4 +985,5 @@
|
||||
- !reference [.core-rules, rules]
|
||||
- changes:
|
||||
- src/**/asahi/**/*
|
||||
- src/**/panfrost/**/*
|
||||
when: on_success
|
||||
|
@@ -41,7 +41,7 @@ clang-format:
|
||||
GIT_STRATEGY: fetch
|
||||
script:
|
||||
- shopt -s globstar
|
||||
- clang-format-13 --Werror --dry-run src/**/asahi/**/*.{h,c,cpp}
|
||||
- clang-format-13 --Werror --dry-run src/**/{asahi,panfrost}/**/*.{h,c,cpp}
|
||||
|
||||
.test-gl:
|
||||
extends:
|
||||
|
Reference in New Issue
Block a user