mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
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:
parent
c7bf3b69eb
commit
7582752233
2 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue