Skip to content

Commit

Permalink
Add base CI
Browse files Browse the repository at this point in the history
This just builds the library as well as the test server for now, nothing
else.

Signed-off-by: Daniil Tatianin <[email protected]>
  • Loading branch information
d-tatianin committed Feb 6, 2024
1 parent 8815511 commit 2a48974
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on: [push, pull_request]

jobs:
build-and-run-tests:
runs-on: ubuntu-latest

steps:
uses: actions/checkout@v3

- name: Install libraries
run: |
sudo apt update
sudo apt install python3 python3-pytest meson clang
- name: Build
run: |
src_dir="${{ github.workspace }}"
build_dir="$src_dir/build"
CC=clang meson setup $build_dir $src_dir
pushd $build_dir
ninja -j0
popd

0 comments on commit 2a48974

Please sign in to comment.