mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
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
This commit is contained in:
1 parent
fa10c57d3d
commit
7d5f82e3db
5 files changed
+13
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
name: Native CMake Build
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
|
||||
@@ -4,6 +4,11 @@ on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
# Cancel older runs of this workflow for the same PR/branch when a new push arrives
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Debug
|
||||
|
||||
@@ -27,6 +27,6 @@ jobs:
|
||||
- name: Deploy to NFS update server
|
||||
if: github.ref == 'refs/heads/developer'
|
||||
run: |
|
||||
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH8 <<< $'put build/bin'
|
||||
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH8 <<< $'put pyctbgui'
|
||||
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH8 <<< $'put slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer'
|
||||
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
|
||||
@@ -4,6 +4,10 @@ on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Debug
|
||||
|
||||
@@ -18,7 +18,6 @@ jobs:
|
||||
- name: Build library
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
conda activate det
|
||||
cmake .. -DSLS_USE_PYTHON=ON -DSLS_USE_SIMULATOR=ON -DSLS_USE_GUI=ON
|
||||
make -j 2
|
||||
|
||||
|
||||
Reference in new issue
Block a user