mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-29 19:58:36 +00:00
Update ScriptPython.yml
This commit is contained in:
1 parent
7310ab9b16
commit
937f14ac97
1 file changed
+22
-5
@@ -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 "========================================"
|
||||
|
||||
Reference in new issue
Block a user