diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10b8d785b5..c2b86e1690 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,7 +156,7 @@ jobs: githubToken: ${{ github.token }} run: | uname -a - apt-get update && apt-get install -y cmake make g++ libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev libdrm-dev libddcutil-dev libchafa-dev rpm + apt-get update && apt-get install -y cmake make g++ libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libnm-dev libpulse-dev libdrm-dev libddcutil-dev libchafa-dev directx-headers-dev rpm cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr . cmake --build . --target package --verbose -j4 ./fastfetch --list-features diff --git a/presets/ci.jsonc b/presets/ci.jsonc index 833f8a4d7f..799a31c133 100644 --- a/presets/ci.jsonc +++ b/presets/ci.jsonc @@ -56,6 +56,7 @@ "users", "bluetooth", "sound", + "camera", "gamepad", { "type": "weather", diff --git a/src/detection/camera/camera_linux.c b/src/detection/camera/camera_linux.c index f4472d4e7f..080a322a99 100644 --- a/src/detection/camera/camera_linux.c +++ b/src/detection/camera/camera_linux.c @@ -55,6 +55,7 @@ const char* ffDetectCamera(FFlist* result) return NULL; #else + FF_UNUSED(result); return "Fastfetch was compiled without "; #endif }