Skip to content

Commit

Permalink
ci: Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
agx committed Jul 29, 2024
1 parent e383735 commit 1f568df
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1f568df

Please sign in to comment.