Add github workflow for Linux

Signed-off-by: Jacki <jacki@thejackimonster.de>
This commit is contained in:
Jacki 2025-08-15 16:54:51 +02:00
parent 225dd4eae2
commit 861d0ac901
No known key found for this signature in database
GPG Key ID: B404184796354C5E
1 changed files with 28 additions and 0 deletions

28
.github/workflows/linux.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Linux Build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the current branch
uses: actions/checkout@v3
- name: Load submodules
run: |
git submodule init
git submodule update
- name: Install dependencies
run: |
sudo apt-get -qq update
sudo apt-get -qq install ninja-build cmake extra-cmake-modules g++
sudo apt-get -qq install libhidapi-dev libjson-c-dev
- name: Build framework
run: |
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -S . -B build
cmake --build build