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
|
2021-08-18 18:32:50 +00:00
|
|
|
- meson build -Dlua-pkg=lua51 --werror
|
2021-08-13 17:59:08 +00:00
|
|
|
- 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
|