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:
Alyssa Rosenzweig
2023-04-07 20:15:38 -04:00
committed by Marge Bot
parent c7bf3b69eb
commit 7582752233
2 changed files with 2 additions and 1 deletions

View File

@@ -985,4 +985,5 @@
- !reference [.core-rules, rules]
- changes:
- src/**/asahi/**/*
- src/**/panfrost/**/*
when: on_success

View File

@@ -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: