From ca75f213aa6e23249adbf1f93c1d5ac4a7794994 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 5 Aug 2021 09:58:31 +0200 Subject: [PATCH] ci: add GitHub action --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2175677 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: CI +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + container: archlinux:base-devel + steps: + - name: Prepare + run: | + pacman-key --init + pacman -Syu --noconfirm + pacman -S --noconfirm git meson glslang libcap wlroots \ + sdl2 vulkan-headers libx11 libxcomposite libxrender libxres \ + libxtst libxkbcommon libdrm libinput wayland-protocols \ + xorg-xwayland + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Build + run: | + meson build/ + ninja -C build/