Skip to content

Commit c66beb6

Browse files
committed
Update ci.yml
1 parent 818b49e commit c66beb6

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,38 @@ jobs:
311311
copyback: false
312312
prepare: |
313313
pkg install -y cmake git eigen glm exiv2 nlopt fast_float md4c qxlsx-qt6 perl5 xorg-vfbserver gettext qt6 tidy-html5
314+
echo "=== tidy-html5 package info ==="
315+
pkg_info -L tidy-html5
316+
echo "=== tidy-html5 installed files ==="
317+
pkg info -l tidy-html5
318+
echo "=== Searching for tidy headers ==="
319+
find /usr/local -name "*tidy*" -type f 2>/dev/null || true
320+
echo "=== Searching for tidy libraries ==="
321+
find /usr/local -name "*tidy*" -type f -name "*.so*" -o -name "*.a" 2>/dev/null || true
322+
echo "=== PKG_CONFIG_PATH and pkg-config info ==="
323+
echo "PKG_CONFIG_PATH: $PKG_CONFIG_PATH"
324+
pkg-config --list-all | grep -i tidy || echo "No tidy found in pkg-config"
325+
echo "=== /usr/local/lib contents (tidy related) ==="
326+
ls -la /usr/local/lib/ | grep -i tidy || echo "No tidy libs found in /usr/local/lib"
327+
echo "=== /usr/local/include contents (tidy related) ==="
328+
find /usr/local/include -name "*tidy*" -type f 2>/dev/null || echo "No tidy headers found in /usr/local/include"
314329
315330
run: |
316331
set -e -x
317332
export DISPLAY=:0
318-
export LIBTIDY_LIBRARY=/usr/local/lib/libtidy.so
319-
export LIBTIDY_INCLUDE_DIR=/usr/local/include
333+
echo "=== Environment variables before build ==="
334+
echo "CMAKE_PREFIX_PATH: $CMAKE_PREFIX_PATH"
335+
echo "PKG_CONFIG_PATH: $PKG_CONFIG_PATH"
336+
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
320337
mkdir builds
321338
cd builds
322-
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On "${{ github.workspace }}"
339+
echo "=== Running CMake with verbose output ==="
340+
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTELLARIUM_RELEASE_BUILD=Off -DENABLE_TESTING=On -DCMAKE_VERBOSE_MAKEFILE=ON --debug-output "${{ github.workspace }}"
341+
echo "=== CMake cache contents (tidy related) ==="
342+
grep -i tidy CMakeCache.txt || echo "No tidy entries found in CMakeCache.txt"
343+
echo "=== CMake configuration summary ==="
344+
cmake -LA . | grep -i tidy || echo "No tidy configuration found"
345+
echo "=== Starting build ==="
323346
make -j3
324347
Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
325348
sleep 3

0 commit comments

Comments
 (0)