update to clang-tidy + workflow improvement cpp build & lint check #130

Merged
zach merged 14 commits from clang-tidy-fixes into main 2026-06-29 22:10:27 +02:00
3 changed files with 16 additions and 2 deletions
Showing only changes of commit 60b0844b7f - Show all commits
+1 -1
View File
@@ -2,7 +2,7 @@ name: Rebuild CI Image
on: on:
schedule: schedule:
- cron: '0 6 * * 0' - cron: '0 6 * * 1'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
+1 -1
View File
@@ -9,7 +9,7 @@ pkg_check_modules(Cava IMPORTED_TARGET libcava QUIET)
pkg_check_modules(GLIB REQUIRED glib-2.0 gobject-2.0 gio-2.0) pkg_check_modules(GLIB REQUIRED glib-2.0 gobject-2.0 gio-2.0)
if(NOT Cava_FOUND) if(NOT Cava_FOUND)
pkg_check_modules(Cava IMPORTED_TARGET cava QUIET) pkg_check_modules(Cava IMPORTED_TARGET cava REQUIRED)
endif() endif()
if(NOT TARGET Sensors::Sensors) if(NOT TARGET Sensors::Sensors)
+14
View File
@@ -25,5 +25,19 @@ RUN pacman -S --noconfirm \
libqalculate \ libqalculate \
pipewire \ pipewire \
aubio \ aubio \
cava \
lm_sensors \ lm_sensors \
glib2 glib2
# AUR: libcava (provides development headers for cava)
RUN pacman -S --needed --noconfirm sudo && \
useradd -m builder && \
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
su builder -c " \
git clone https://aur.archlinux.org/libcava.git /tmp/libcava && \
cd /tmp/libcava && \
makepkg -si --noconfirm \
" && \
rm -rf /tmp/libcava && \
userdel -r builder && \
sed -i '/^builder/d' /etc/sudoers