Files
slsDetectorPackage/.github/workflows/rh8-nfs-deploy.yaml
mazzol_a 7d5f82e3db dev/Fix/nfs deploy workflows (#1672)
* reset udp streaming for all modules

* Revert "reset udp streaming for all modules"

This reverts commit e0d0a13def.

* fixed nfs upload workflows

* only build on push

* execute workflows on push for testing

* temporarily disable local tests

* forgot to commit

* also upload if not push to developer for testing

* reverted testing mode
2026-11-10 17:22:41 +01:00

32 lines
905 B
YAML

name: Build and Deploy on local RHEL8
on:
push:
branches:
- developer
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: "detectors-software-RH8"
steps:
- uses: actions/checkout@v4
- name: Build library
run: |
source /home/github_runner/.bashrc
conda activate det
mkdir build && cd build
conda activate det
cmake .. -DSLS_USE_PYTHON=ON -DSLS_USE_SIMULATOR=ON -DSLS_USE_GUI=ON
make -j 2
- name: Deploy to NFS update server
if: github.ref == 'refs/heads/developer'
run: |
cp -r build/bin /home/github_runner/slsDetectorSoftware/RH8
cp slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer /home/github_runner/slsDetectorSoftware/RH8
cp -r pyctbgui /home/github_runner/slsDetectorSoftware/RH8