diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..4c5fdc9 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,18 @@ +task: + container: + image: archlinux:base-devel + + matrix: + - name: Build (clang) + script: + - sudo pacman --noconfirm -Syu + - sudo pacman --noconfirm -S git meson ninja lua51 wlroots wayland-protocols + - meson build -Dlua-pkg=lua51 + - ninja -C build + + - name: Format + script: + - sudo pacman --noconfirm -Syu + - sudo pacman --noconfirm -S clang git + - clang-format -i **/*.{c,h} + - git diff --exit-code diff --git a/.editorconfig b/.editorconfig index 8287d24..51b3955 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,3 +11,7 @@ tab_width = 4 [meson.build] indent_size = 2 tab_width = 2 + +[*.yml] +indent_size = 2 +tab_width = 2