From afc51c97712fa37a915cb2cdcce24186230be147 Mon Sep 17 00:00:00 2001 From: Martin Mueller Date: Tue, 25 Nov 2025 16:14:33 +0100 Subject: [PATCH] testing NFS deploy --- .gitea/workflows/rh8-local.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/rh8-local.yml diff --git a/.gitea/workflows/rh8-local.yml b/.gitea/workflows/rh8-local.yml new file mode 100644 index 000000000..67a5b4e6a --- /dev/null +++ b/.gitea/workflows/rh8-local.yml @@ -0,0 +1,27 @@ +name: Build on local RHEL8 + +on: + push: + branches: + - dev/NFS_testing + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: "detectors-software-RH8" + steps: + - uses: actions/checkout@v4 + + - name: Build library + run: | + mkdir build && cd build + cmake .. -DSLS_USE_PYTHON=ON -DSLS_USE_TESTS=ON -DSLS_USE_SIMULATOR=ON + make -j 2 + + - name: Deploy to NFS + if: gitea.ref == 'refs/heads/dev/NFS_testing' + run: | + sftp -r gitea_runner@mpc2935:/slsDetectorSoftware <<< $'put build/bin' \ No newline at end of file