From 7582752233a42f58d5c20152228a7699b29ee9cf Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 7 Apr 2023 20:15:38 -0400 Subject: [PATCH] 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 Part-of: --- .gitlab-ci/test-source-dep.yml | 1 + .gitlab-ci/test/gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index ace142d..24ead27 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 2af13db..9aea05f 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: -- 2.7.4