diff options
author | Alyssa Rosenzweig <alyssa@collabora.com> | 2023-04-07 20:15:38 -0400 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-04-10 21:56:04 +0000 |
commit | 7582752233a42f58d5c20152228a7699b29ee9cf (patch) | |
tree | 6ce82d9d85d59074a815383ab596c69e62b76131 /.gitlab-ci | |
parent | c7bf3b69ebc8f2252dbf724a4de638e6bb2ac402 (diff) |
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>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/test-source-dep.yml | 1 | ||||
-rw-r--r-- | .gitlab-ci/test/gitlab-ci.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index ace142d30ab..24ead27afce 100644 --- a/.gitlab-ci/test-source-dep.yml +++ b/.gitlab-ci/test-source-dep.yml @@ -985,4 +985,5 @@ - !reference [.core-rules, rules] - changes: - src/**/asahi/**/* + - src/**/panfrost/**/* when: on_success diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index 2af13db6a1a..9aea05f4939 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -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: |