mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
* 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
29 lines
844 B
YAML
29 lines
844 B
YAML
name: Build and Deploy on local RHEL9
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- developer
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: "detectors-software-RH9"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build library
|
|
run: |
|
|
mkdir build && cd build
|
|
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: |
|
|
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put build/bin'
|
|
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put pyctbgui'
|
|
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer' |