.cirrus.yml (547B)
1 task: 2 container: 3 image: archlinux:base-devel 4 5 matrix: 6 - name: Build (clang) 7 script: 8 - sudo pacman --noconfirm -Syu 9 - sudo pacman --noconfirm -S git meson ninja lua51 wlroots wayland-protocols 10 - meson build -Dlua-pkg=lua51 --werror 11 - ninja -C build 12 13 - name: Format 14 script: 15 - sudo pacman --noconfirm -Syu 16 - sudo pacman --noconfirm -S clang git 17 - find -name .git -prune -o -type f -name '*.[ch]' -print | xargs -d '\n' clang-format -i 18 - git diff --exit-code