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