mirror of https://github.com/polybar/polybar.git
32 lines
556 B
YAML
32 lines
556 B
YAML
|
language: cpp
|
||
|
|
||
|
addons:
|
||
|
apt:
|
||
|
sources:
|
||
|
- llvm-toolchain-precise
|
||
|
- ubuntu-toolchain-r-test
|
||
|
packages:
|
||
|
- clang-3.7
|
||
|
- g++-5
|
||
|
- gcc-5
|
||
|
- cmake
|
||
|
- libx11-dev
|
||
|
- libxrandr-dev
|
||
|
- libboost-dev
|
||
|
- libiw-dev
|
||
|
- libasound2-dev
|
||
|
- libmpdclient-dev
|
||
|
|
||
|
install:
|
||
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
|
||
|
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
|
||
|
|
||
|
compiler:
|
||
|
- clang
|
||
|
- gcc
|
||
|
|
||
|
script:
|
||
|
- mkdir build
|
||
|
- cd build
|
||
|
- cmake .. && make
|