From b4836ecbcc67cecf42aa2cbc80e5116a78176328 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 19 Feb 2019 12:11:16 +0100 Subject: ci: add Alpine CI --- .build.yml | 30 ------------------------------ .builds/alpine.yml | 38 ++++++++++++++++++++++++++++++++++++++ .builds/archlinux.yml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 30 deletions(-) delete mode 100644 .build.yml create mode 100644 .builds/alpine.yml create mode 100644 .builds/archlinux.yml diff --git a/.build.yml b/.build.yml deleted file mode 100644 index 14433311..00000000 --- a/.build.yml +++ /dev/null @@ -1,30 +0,0 @@ -# vim: ft=yaml ts=2 sw=2 et : -image: archlinux -packages: - - meson - - xorg-server-xwayland - - xcb-util-image - - json-c - - pango - - cairo - - wayland - - wayland-protocols - - gdk-pixbuf2 - - libinput - - libxkbcommon - - scdoc -sources: - - https://github.com/swaywm/sway - - https://github.com/swaywm/wlroots -tasks: - - wlroots: | - cd wlroots - meson --prefix=/usr build - ninja -C build - sudo ninja -C build install - - setup: | - cd sway - meson build - - build: | - cd sway - ninja -C build diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 00000000..328625a5 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,38 @@ +image: alpine/edge +packages: + - cairo-dev + - eudev-dev + - gdk-pixbuf-dev + - json-c-dev + - libevdev-dev + - libinput-dev + - libxcb-dev + - libxkbcommon-dev + - mesa-dev + - meson + - pango-dev + - pixman-dev + - scdoc + - wayland-dev + - wayland-protocols + - xcb-util-image-dev + - xorg-server-xwayland +sources: + - https://github.com/swaywm/sway + - https://github.com/swaywm/wlroots +tasks: + - wlroots: | + cd wlroots + meson --prefix=/usr build -Drootston=false -Dexamples=false + ninja -C build + sudo ninja -C build install + - setup: | + cd sway + meson build + - build: | + cd sway + ninja -C build + - build-no-xwayland: | + cd sway + meson configure build -Dxwayland=disabled + ninja -C build diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml new file mode 100644 index 00000000..c8f116e0 --- /dev/null +++ b/.builds/archlinux.yml @@ -0,0 +1,30 @@ +image: archlinux +packages: + - cairo + - gdk-pixbuf2 + - json-c + - libinput + - libxcb + - libxkbcommon + - meson + - pango + - scdoc + - wayland + - wayland-protocols + - xcb-util-image + - xorg-server-xwayland +sources: + - https://github.com/swaywm/sway + - https://github.com/swaywm/wlroots +tasks: + - wlroots: | + cd wlroots + meson --prefix=/usr build -Drootston=false -Dexamples=false + ninja -C build + sudo ninja -C build install + - setup: | + cd sway + meson build + - build: | + cd sway + ninja -C build -- cgit v1.2.3