ci: Run clang-format on panfrost
authorAlyssa Rosenzweig <alyssa@collabora.com>
Sat, 8 Apr 2023 00:15:38 +0000 (20:15 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 21:56:04 +0000 (21:56 +0000)
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>

.gitlab-ci/test-source-dep.yml
.gitlab-ci/test/gitlab-ci.yml

index ace142d..24ead27 100644 (file)
     - !reference [.core-rules, rules]
     - changes:
       - src/**/asahi/**/*
+      - src/**/panfrost/**/*
       when: on_success
index 2af13db..9aea05f 100644 (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: