mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
CI (#90)
This commit is contained in:
parent
2d2fb88040
commit
13702012a4
31
.travis.yml
31
.travis.yml
@ -1,28 +1,13 @@
|
|||||||
sudo: required
|
sudo: false
|
||||||
language: cpp
|
|
||||||
compiler:
|
|
||||||
- gcc
|
|
||||||
- clang
|
|
||||||
|
|
||||||
addons:
|
services:
|
||||||
apt:
|
- docker
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
env:
|
||||||
- llvm-toolchain-precise
|
- distro: debian
|
||||||
packages:
|
|
||||||
- gcc-5
|
|
||||||
- g++-5
|
|
||||||
- clang-3.8
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -qq update
|
- docker pull alexays/waybar:${distro}
|
||||||
- sudo apt-get install ninja python3-pip python3-dev build-essential
|
|
||||||
- sudo pip3 install --upgrade pip
|
|
||||||
- sudo pip3 install meson
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- docker run alexays/waybar:${distro} /bin/sh -c "git clone https://github.com/Alexays/Waybar && cd Waybar && git clone https://github.com/swaywm/wlroots subprojects/wlroots && meson build && ninja -C build"
|
||||||
- meson build
|
|
||||||
- cd build
|
|
||||||
- ninja
|
|
||||||
- ninja test
|
|
5
Dockerfiles/debian
Normal file
5
Dockerfiles/debian
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM debian:sid
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y build-essential meson ninja-build git pkg-config libinput10 libinput-dev wayland-protocols libwayland-client0 libwayland-cursor0 libwayland-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libxkbcommon-dev libudev-dev libpixman-1-dev libgtkmm-3.0-dev libjsoncpp-dev && \
|
||||||
|
apt-get clean
|
Loading…
Reference in New Issue
Block a user