kiwmi/.cirrus.yml

19 lines
477 B
YAML
Raw Normal View History

2021-08-13 17:59:08 +00:00
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