From 1f568df24603b3241f3dbd4671817cfe8b4c6756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Mon, 29 Jul 2024 11:56:48 +0200 Subject: [PATCH] ci: Add build workflow --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..65b10bc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +env: + DEPS: build-essential meson git libglib2.0-dev libedit-dev + LIBCMATRIC_DEPS: libsoup-3.0-dev libolm-dev libjson-glib-dev libsqlite3-dev libgcrypt20-dev libsecret-1-dev + +name: eigenvalue build +run-name: Build on ${{ github.actor }} with gcc +on: [push] +jobs: + Build-gcc: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - name: Install deps + run: sudo apt -y install --no-install-recommends $DEPS $LIBCMATRIC_DEPS + - name: setup + run: meson setup _build + - name: build + run: meson compile -C _build + Build-clang: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - name: Install deps + run: sudo apt -y install --no-install-recommends clang $DEPS $LIBCMATRIX_DEPS + - name: setup + run: CC=clang meson setup _build + - name: build + run: meson compile -C _build +