@@ -29,21 +29,53 @@ jobs:
2929 - name : Install dependencies
3030 run : |
3131 sudo apt-get update
32- sudo apt-get install -y cmake build-essential liblog4cpp5-dev libxerces-c-dev libeigen3-dev wget
32+ sudo apt-get install -y cmake build-essential liblog4cpp5-dev libxerces-c-dev libeigen3-dev wget \
33+ git gcc g++ make cmake pkg-config libtool autoconf valgrind \
34+ ninja-build ccache libboost-all-dev doxygen graphviz
35+
36+ # Check installed dependency versions
37+ echo "===== DEPENDENCY VERSIONS ====="
38+ g++ --version
39+ cmake --version
40+ pkg-config --version
41+ echo "===== LIBRARY VERSIONS ====="
42+ pkg-config --modversion eigen3 || echo "eigen3.pc not found"
43+ pkg-config --modversion xerces-c || echo "xerces-c.pc not found"
44+ pkg-config --modversion log4cpp || echo "log4cpp.pc not found"
45+
3346 # Install CodeSynthesis XSD
47+ echo "===== INSTALLING CODESYNTHESIS XSD ====="
3448 wget https://www.codesynthesis.com/download/xsd/4.0/linux-gnu/x86_64/xsd_4.0.0-1_amd64.deb
3549 sudo dpkg -i xsd_4.0.0-1_amd64.deb
50+ xsd --version || echo "xsd not properly installed"
51+
52+ # Check directory structure
53+ echo "===== DIRECTORY STRUCTURE ====="
54+ ls -la
3655
3756 - name : Configure CMake
3857 run : |
3958 mkdir -p build
4059 cd build
41- cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
60+ cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_VERBOSE_MAKEFILE=ON
4261
4362 - name : Build BioGears
4463 run : |
4564 cd build
46- cmake --build . --parallel $(nproc)
65+ echo "Processor count: $(nproc)"
66+ echo "CMake version: $(cmake --version)"
67+ echo "GCC version: $(gcc --version)"
68+ echo "Build directory contents:"
69+ ls -la
70+ # Build with more verbose output and show where it fails
71+ cmake --build . --parallel $(nproc) --verbose || {
72+ echo "===== BUILD FAILED ====="
73+ echo "Last 100 lines of CMakeFiles/CMakeError.log:"
74+ tail -n 100 CMakeFiles/CMakeError.log || echo "No CMakeError.log found"
75+ echo "===== DETAILED ENVIRONMENT INFO ====="
76+ env | sort
77+ exit 1
78+ }
4779
4880 - name : Create build metadata
4981 run : |
0 commit comments