feat: implement keyvibe daemon with sound selection and configuration reloading

This commit is contained in:
sankalp committed 2025-10-07 22:55:19 +05:45
1 parent 791093ba8f
commit 02c63fae2c
10 files changed
+817 -1046

No files matched your search

+61
View File
@@ -0,0 +1,61 @@
name: build-and-test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
jobs:
ubuntu-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
pkg-config \
libjson-c-dev \
libpulse-dev \
libsndfile1-dev \
libinput-dev \
libevdev-dev \
libudev-dev
- name: Build (with repo-local PREFIX)
run: make -j$(nproc) PREFIX=$PWD
- name: Prepare data dir for runtime
run: |
mkdir -p "$PWD/share/keyvibe"
cp -r audio "$PWD/share/keyvibe/"
- name: List sound packs
run: ./keyvibe --list
- name: Smoke test help
run: ./keyvibe --help || true
- name: Extra smoke tests (non-fatal)
run: |
./keyvibe --reload || true
./keyvibe --stop || true
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: keyvibe-binaries
path: |
keyvibe
keyvibe-audio
keyvibe-input