adding CI

This commit is contained in:
2026-07-29 13:08:20 +02:00
parent 997a2a9eef
commit 3ff86f5670
2 changed files with 22 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
name: CI
on:
push:
branches: [ "master" ]
jobs:
build-and-test:
runs-on: linepics
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: compile
run: |
cmake -B build -DBUILD_TEST=ON
- name: Run tests
run: |
./build/test
+1 -2
View File
@@ -5,8 +5,7 @@ project(generic VERSION 1.0)
add_compile_options(
-Wall
-Wformat=2
-g
-O0
-O2
-Wuninitialized
-Wno-unused-function
)