From f4d1602d879d75f9262d6c4af8ef265cdfa59275 Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 17 Jul 2026 17:24:09 +0200 Subject: [PATCH] ci: apt-install libgtest-dev/libgmock-dev and add build_gtest.sh in Dockerfile --- app/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Dockerfile b/app/Dockerfile index 70b030da8..ee60c9fe7 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -78,9 +78,13 @@ RUN set -eux; \ libqt6webkit6-dev || true; \ # Try to install Grantlee / KDReports via apt (preferred); ignore failures apt-get install -y --no-install-recommends libgrantlee5 libgrantlee5-dev libkdreports-dev || true; \ + # Install GoogleTest dev packages so CMake can find GTest; build if apt provides sources + apt-get install -y --no-install-recommends libgtest-dev libgmock-dev || true; \ # Build Grantlee and KDReports via scripts in /app if apt packages not available /app/build_grantlee.sh || true; \ /app/build_kdreports.sh || true; \ + # If libgtest-dev provided sources, build+install them via script + /app/build_gtest.sh || true; \ # geographiclib already installed via apt; RTI (Proprietary) cannot be installed automatically echo "Note: RTI Connext (RTI) is proprietary and must be installed manually into /opt/RTI if required."