update travis

This commit is contained in:
Tony Crisci 2017-12-01 05:43:08 -05:00
parent 0f7a7f4084
commit 3546412fc9
2 changed files with 19 additions and 28 deletions

View File

@ -1,7 +1,7 @@
# vim: ft=yaml ts=2 sw=2 et :
image: archlinux
packages:
- cmake
- meson
- wlc-git
- xorg-server-xwayland
- xcb-util-image
@ -9,25 +9,22 @@ packages:
- pango
- cairo
- wayland
- wayland-protocols
- gdk-pixbuf2
- meson
- libinput
- libxkbcommon
sources:
- https://git.sr.ht/~sircmpwn/sway
- https://git.sr.ht/~sircmpwn/wlroots
tasks:
- wlroots: |
cd wlroots
mkdir build
cd build
meson --prefix=/usr ..
ninja
sudo ninja install
meson --prefix=/usr build
ninja -C build
sudo ninja -C build install
- setup: |
cd sway
mkdir build
cd build
cmake ..
meson build
- build: |
cd sway
cd build
make
ninja -C build

View File

@ -7,35 +7,29 @@ compiler:
- clang
env:
- BUILD_TYPE=Release
- BUILD_TYPE=Debug
- BUILD_TYPE=ASAN
- BUILD_TYPE=release
- BUILD_TYPE=debug
arch:
packages:
- cmake
- meson
- ninja
- xorg-server-xwayland
- json-c
- wayland
- wayland-protocols
- xcb-util-image
- pango
- cairo
- gdk-pixbuf2
- wlc-git
- libcap
- meson
- libinput
- libxkbcommon
script:
- git clone https://github.com/swaywm/wlroots
- cd wlroots
- mkdir build
- cd build
- meson --prefix=/usr ..
- sudo ninja install
- cd ../..
- cmake .
- make
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
- make
- 'cd wlroots && meson --prefix=/usr build && ninja -C build && sudo ninja -C build install'
- meson build --buildtype=$BUILD_TYPE
- ninja -C build
script:
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"