diff --git a/.github/workflows/ScriptPython.yml b/.github/workflows/ScriptPython.yml index 3adaa86..c3443de 100644 --- a/.github/workflows/ScriptPython.yml +++ b/.github/workflows/ScriptPython.yml @@ -43,13 +43,30 @@ jobs: echo "INSTALLATION THERION" echo "========================================" set -euxo pipefail + # Dépendances de compilation sudo apt-get update - sudo apt-get install -y wget ca-certificates - wget -O /tmp/therion.deb https://archive.ubuntu.com/ubuntu/pool/universe/t/therion/therion_6.4.0-1build1_amd64.deb - sudo apt-get install -y /tmp/therion.deb - echo "=== Version installée ===" + sudo apt-get install -y \ + git cmake g++ pkg-config python3 \ + libfmt-dev libproj-dev + # Télécharger la version stable officielle + git clone --depth 1 --branch v6.4.0 https://github.com/therion/therion.git /tmp/therion-src + # Configurer : compiler uniquement Therion CLI + cmake -S /tmp/therion-src -B /tmp/therion-build \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr/local \ + -DBUILD_THERION=ON \ + -DBUILD_LOCH=OFF \ + -DBUILD_XTHERION=OFF \ + -DBUILD_THBOOK=OFF + # Compiler et installer + cmake --build /tmp/therion-build --parallel 2 + sudo cmake --install /tmp/therion-build + # Vérifier la version réellement exécutée + hash -r + echo "=== Binaire utilisé ===" + command -v therion + echo "=== Version Therion ===" therion --version - cavern --version echo "========================================" echo "COMPILATION FULL" echo "========================================"