2020-05-24 17:05:44 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2019-09-24 23:02:07 +00:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
|
2020-05-24 17:05:44 +00:00
|
|
|
env:
|
|
|
|
- distro: debian
|
|
|
|
- distro: archlinux
|
|
|
|
- distro: fedora
|
|
|
|
- distro: alpine
|
|
|
|
- distro: opensuse
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- docker pull alexays/waybar:${distro}
|
|
|
|
- find . -type f \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -r0 clang-format -i
|
|
|
|
|
|
|
|
script:
|
|
|
|
- echo FROM alexays/waybar:${distro} > Dockerfile
|
|
|
|
- echo ADD . /root >> Dockerfile
|
|
|
|
- docker build -t waybar .
|
|
|
|
- docker run waybar /bin/sh -c "cd /root && meson build -Dman-pages=enabled && ninja -C build"
|
2018-11-05 10:59:05 +00:00
|
|
|
|
2020-05-17 09:06:44 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- os: freebsd
|
|
|
|
compiler: clang
|
2020-05-24 17:05:44 +00:00
|
|
|
env:
|
|
|
|
before_install:
|
2020-09-06 18:15:58 +00:00
|
|
|
- export CPPFLAGS+=-isystem/usr/local/include LDFLAGS+=-L/usr/local/lib # sndio
|
|
|
|
- sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
|
|
|
- sudo pkg install -y gtk-layer-shell gtkmm30 jsoncpp libdbusmenu sndio
|
2020-05-18 23:10:48 +00:00
|
|
|
libfmt libmpdclient libudev-devd meson pulseaudio scdoc spdlog
|
2020-05-17 09:06:44 +00:00
|
|
|
script:
|
|
|
|
- meson build -Dman-pages=enabled
|
|
|
|
- ninja -C build
|