Update ScriptPython.yml

This commit is contained in:
Alex38Lyon committed 2026-10-21 15:36:43 +02:00
1 parent 7310ab9b16
commit 937f14ac97
1 file changed
+22 -5
+22 -5
View File
@@ -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 "========================================"