From f14cfb0b31451a381c92552a5305ca05b172ea19 Mon Sep 17 00:00:00 2001 From: Martin Mueller Date: Thu, 27 Nov 2025 15:21:34 +0100 Subject: [PATCH] deploy python ui --- .gitea/workflows/rh8-local.yml | 7 +++++-- .gitea/workflows/rh9-local.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/rh8-local.yml b/.gitea/workflows/rh8-local.yml index a99dd2b3b..3566ff5cc 100644 --- a/.gitea/workflows/rh8-local.yml +++ b/.gitea/workflows/rh8-local.yml @@ -18,10 +18,13 @@ jobs: - name: Build library run: | mkdir build && cd build - cmake .. -DSLS_USE_PYTHON=ON -DSLS_USE_TESTS=ON -DSLS_USE_SIMULATOR=ON + cmake .. -DSLS_USE_PYTHON=ON make -j 2 + cd ../pyctbgui + make - name: Deploy to NFS update server if: gitea.ref == 'refs/heads/developer' run: | - sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH8 <<< $'put build/bin' \ No newline at end of file + sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH8 <<< $'put build/bin' + sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put pyctbgui' \ No newline at end of file diff --git a/.gitea/workflows/rh9-local.yml b/.gitea/workflows/rh9-local.yml index 62a27b32c..c282e4228 100644 --- a/.gitea/workflows/rh9-local.yml +++ b/.gitea/workflows/rh9-local.yml @@ -18,10 +18,13 @@ jobs: - name: Build library run: | mkdir build && cd build - cmake .. -DSLS_USE_PYTHON=ON -DSLS_USE_TESTS=ON -DSLS_USE_SIMULATOR=ON + cmake -DSLS_USE_PYTHON=ON -DPython_EXECUTABLE=/usr/bin/python3.13 -DPython_INCLUDE_DIR=/usr/include/python3.13 -DPython_LIBRARY=/usr/lib64/libpython3.13.so .. make -j 2 + cd ../pyctbgui + make - name: Deploy to NFS update server if: gitea.ref == 'refs/heads/developer' run: | - sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put build/bin' \ No newline at end of file + sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put build/bin' + sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put pyctbgui' \ No newline at end of file