Module: Mesa Branch: main Commit: 480204aeed3fc430b5aaa2469db33265fc18c2af URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=480204aeed3fc430b5aaa2469db33265fc18c2af
Author: Eric Engestrom <[email protected]> Date: Fri May 26 14:49:38 2023 +0100 ci: show diff when clang-format check fails Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23258> --- .gitlab-ci/test/gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index 9832fa0ce71..90e888dbf27 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -42,9 +42,10 @@ clang-format: LLVM_VERSION: 15 script: - shopt -s globstar - - clang-format-${LLVM_VERSION:?} --Werror --dry-run + - clang-format-${LLVM_VERSION:?} --Werror -i src/**/asahi/**/*.{h,c,cpp} src/**/panfrost/**/*.{h,c,cpp} + - git diff --exit-code # Fails if there are diffs .test-gl: extends:
