2018-11-09 11:07:16 +00:00
|
|
|
sudo: false
|
2018-11-05 10:59:05 +00:00
|
|
|
|
2018-11-09 11:07:16 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2019-09-24 23:02:07 +00:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
|
2018-11-09 11:07:16 +00:00
|
|
|
env:
|
|
|
|
- distro: debian
|
2018-11-09 14:19:17 +00:00
|
|
|
- distro: archlinux
|
2019-05-07 12:04:45 +00:00
|
|
|
- distro: fedora
|
2019-05-16 15:20:27 +00:00
|
|
|
- distro: alpine
|
2018-11-05 10:59:05 +00:00
|
|
|
|
|
|
|
before_install:
|
2018-11-09 11:07:16 +00:00
|
|
|
- docker pull alexays/waybar:${distro}
|
2019-10-23 14:03:32 +00:00
|
|
|
- find . -type f \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -r0 clang-format -i
|
2018-11-05 10:59:05 +00:00
|
|
|
|
|
|
|
script:
|
2018-11-09 16:15:19 +00:00
|
|
|
- echo FROM alexays/waybar:${distro} > Dockerfile
|
|
|
|
- echo ADD . /root >> Dockerfile
|
|
|
|
- docker build -t waybar .
|
2019-09-02 16:37:46 +00:00
|
|
|
- docker run waybar /bin/sh -c "cd /root && meson build -Dman-pages=enabled && ninja -C build"
|