mesa/.gitlab-ci
Alyssa Rosenzweig f534c36ca5 ci: Enforce clang-format for asahi
Some drivers use clang-format exclusively. We would like to lint for correct
formatting in CI to catch style issues before they land, because mixing
clang-format and not clang-format within a codebase is a recipe for conflicts.

We don't expect this lint to ever fail in "normal" usage, since we expect
developers on these drivers to setup automatic formatting in their editor.
However, it can be useful as a failsafe or for drive-by contributors who don't
know the style guide.

Enable the linting for Asahi. We'll enable for Panfrost shortly, but Panfrost
isn't clang-format clean quite yet.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20553>
2023-03-17 19:59:21 +00:00
..
b2c ci/b2c: start making use of the harbor.fd.o 2023-01-05 05:51:39 +00:00
bare-metal ci: implement unified sections 2023-03-01 12:02:24 +00:00
build ci: Enable LTO for fedora-release job 2023-03-17 16:08:34 +00:00
common ci: group RESULT logic in a single place 2023-03-14 18:53:51 +00:00
container ci: Add clang-format to the amd64 container 2023-03-17 19:59:21 +00:00
fossils gitlab-ci: attach the Fossilize log file as artifact on failure 2020-06-26 06:45:23 +00:00
lava ci/lava: every LAVA job doesn't want to run gles2 deqp, drop it 2023-03-11 14:48:20 +00:00
meson ci: Allow passing c{,pp}_link_args to meson 2023-03-17 16:08:34 +00:00
piglit ci/piglit: Exclude swapbuffers front-readback tests with PIGLIT_PLATFORM=gbm. 2023-01-24 00:13:03 +00:00
test ci: Enforce clang-format for asahi 2023-03-17 19:59:21 +00:00
tests ci: Handle carriage return characters in LAVA logs 2023-03-06 17:17:32 +00:00
valve radv/ci: merge all the zink jobs into a single one 2023-01-06 14:09:31 +00:00
vkd3d-proton ci: print a message when vk3d-proton returns successfully 2022-06-16 06:36:36 +00:00
windows ci/windows: Update LLVM to 15 2023-02-11 05:24:08 +00:00
all-skips.txt ci/piglit: Add some common piglit skips for Mesa CI's testing of glx. 2023-01-24 00:13:02 +00:00
bin ci: move the CI handling scripts into bin/ci 2022-12-19 16:36:19 +01:00
cross-xfail-ppc64el ci: update xfails for ppc64le and s390x 2021-03-23 14:01:49 +00:00
cross-xfail-s390x llvmpipe: Use lp_build_round_arch on IBM Z (s390x) 2021-11-23 17:49:02 +00:00
crosvm-init.sh ci: Allow to use crosvm-runner before deqp-runner 2023-03-14 23:59:37 +00:00
crosvm-runner.sh ci: Allow to use crosvm-runner before deqp-runner 2023-03-14 23:59:37 +00:00
cuttlefish-runner.sh android/ci: raise error on script when not related to the tests 2023-03-16 22:13:05 +00:00
deqp-runner.sh ci: deqp-runner: drop already unused function 2023-03-04 04:02:03 +00:00
docs docs: Move the current CI .rst doc to docs/ci/ and link to it from .gitlab-ci. 2020-07-08 20:13:11 +00:00
download-git-cache.sh ci: revert download of git cache to the wget 2023-02-20 13:48:32 +00:00
fossilize-runner.sh gitlab-ci: attach the Fossilize log file as artifact on failure 2020-06-26 06:45:23 +00:00
fossils.yml gitlab-ci: add parallel-rdp fossils 2020-06-25 08:03:09 +02:00
gbm-skips.txt ci/piglit: Exclude swapbuffers front-readback tests with PIGLIT_PLATFORM=gbm. 2023-01-24 00:13:03 +00:00
gtest-runner.sh ci: Allow specifying any shell command via HWCI_TEST_SCRIPT 2022-03-22 17:01:09 +00:00
image-tags.yml ci: Add clang-format to the amd64 container 2023-03-17 19:59:21 +00:00
prepare-artifacts.sh ci: include setup test environment script in the output artifacts 2023-03-06 09:47:16 +00:00
report-flakes.py ci: Add known-flake handling for the IRC flake reports 2021-06-01 20:31:00 +00:00
run-shader-db.sh ci: implement unified sections 2023-03-01 12:02:24 +00:00
run-shellcheck.sh ci: use shellcheck for .gitlab-ci/container/ directory 2022-08-26 21:20:14 +00:00
run-yamllint.sh ci: use xargs instead of find -exec 2022-09-14 15:44:24 +00:00
setup-test-env.sh ci: do not exit when an error happens inside the section 2023-03-06 11:59:42 +00:00
test-source-dep.yml ci: Enforce clang-format for asahi 2023-03-17 19:59:21 +00:00
x11-skips.txt ci/piglit: Add some common piglit skips for Mesa CI's testing of glx. 2023-01-24 00:13:02 +00:00
x86_64-w64-mingw32 ci: Prepare the container for building all mesa components with mingw under linux 2022-06-23 09:27:06 +00:00