2019-09-25 01:02:07 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
|
2020-05-17 11:06:44 +02:00
|
|
|
_linux_shared: &linux_shared
|
|
|
|
os: linux
|
|
|
|
sudo: false
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
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 11:59:05 +01:00
|
|
|
|
2020-05-17 11:06:44 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- <<: *linux_shared
|
|
|
|
env: distro=debian
|
|
|
|
- <<: *linux_shared
|
|
|
|
env: distro=archlinux
|
|
|
|
- <<: *linux_shared
|
|
|
|
env: distro=fedora
|
|
|
|
- <<: *linux_shared
|
|
|
|
env: distro=alpine
|
|
|
|
- <<: *linux_shared
|
|
|
|
env: distro=opensuse
|
|
|
|
- os: freebsd
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-05-19 01:10:48 +02:00
|
|
|
sudo: required
|
|
|
|
install:
|
|
|
|
- sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
|
|
|
- sudo pkg install -y date gtk-layer-shell gtkmm30 jsoncpp libdbusmenu
|
|
|
|
libfmt libmpdclient libudev-devd meson pulseaudio scdoc spdlog
|
2020-05-17 11:06:44 +02:00
|
|
|
script:
|
|
|
|
- meson build -Dman-pages=enabled
|
|
|
|
- ninja -C build
|