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