diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 6657473..7323684 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -87,7 +87,9 @@ jobs: signify-openbsd \ python3-pytest \ libudev-dev \ - systemd-dev + systemd-dev \ + g++ \ + libc++-dev # Debug udev installation echo "=== Debugging udev installation ===" @@ -123,8 +125,17 @@ jobs: rm -rf build mkdir build && cd build echo "Build directory: $(pwd)" - meson setup --prefix=/usr --libdir=lib/x86_64-linux-gnu .. - ninja + + # Configure meson with more permissive compiler flags + meson setup \ + --prefix=/usr \ + --libdir=lib/x86_64-linux-gnu \ + -Dc_args="-Wno-unused-parameter -Wno-unused-variable" \ + -Dcpp_args="-Wno-unused-parameter -Wno-unused-variable" \ + .. + + # Build with verbose output to see what's failing + ninja -v # Run tests python3 -m pytest test/ || echo "Some tests may require root privileges"