From: Johan Malm Date: Tue, 21 Sep 2021 20:49:31 +0000 (+0100) Subject: Add CI X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=0e41413dc8f6064f57a31460593f3967caabae24;p=proto%2Flabwc.git Add CI --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..c1a18f21 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: CI +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + container: archlinux:base-devel + steps: + - name: install dependencies + run: | + pacman-key --init + pacman -Syu --noconfirm + pacman -S --noconfirm git meson clang wlroots libdrm libinput \ + wayland-protocols cairo pango libxml2 xorg-xwayland + - name: build with gcc + run: | + meson build-gcc/ --werror + ninja -C build-gcc/ + - name: build with clang + run: | + meson build-clang/ --werror + ninja -C build-clang/ +