18 lines
477 B
YAML
18 lines
477 B
YAML
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
|