ci: add build + unit tests workflow, lower cmake minimum to 3.22
CI / build-and-test (push) Successful in 2m17s

This commit is contained in:
2026-07-18 14:41:27 +02:00
parent 33f70f7de3
commit 3ea11b5984
3 changed files with 25 additions and 20 deletions
+24
View File
@@ -0,0 +1,24 @@
name: CI
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc cmake libzstd-dev
- name: Configure
run: cmake -B build -S .
- name: Build
run: cmake --build build -j$(nproc)
- name: Unit Tests
run: ./build/tests