Add cirrus CI
This commit is contained in:
parent
bca880ac27
commit
ef3ce0d1c5
2 changed files with 22 additions and 0 deletions
18
.cirrus.yml
Normal file
18
.cirrus.yml
Normal file
|
@ -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
|
|
@ -11,3 +11,7 @@ tab_width = 4
|
|||
[meson.build]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
|
Loading…
Reference in a new issue