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
|
2021-08-26 12:42:18 +00:00
|
|
|
- find -name .git -prune -o -type f -name '*.[ch]' -print | xargs -d '\n' clang-format -i
|
2021-08-13 17:59:08 +00:00
|
|
|
- git diff --exit-code
|