Commit Graph
79 Commits
Author SHA1 Message Date
maliakal_d e3d1d04bf5 combine for loop of changed files
Build on RHEL9 docker image / build (push) Successful in 4m35s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m9s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m29s
2026-09-01 15:18:56 +02:00
maliakal_d 14dd4be79e minor
Build on RHEL9 docker image / build (push) Successful in 4m12s
Build on RHEL8 docker image / build (push) Successful in 5m16s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m9s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-28 15:40:27 +02:00
maliakal_d c630dd6061 validation doesnt have any output anymore because its either setfailed or not, the unrelated labesl output have been moved to edit trigger workflow anyway 2026-08-28 15:38:18 +02:00
maliakal_d ca5b8a4b75 validate pr type also separated
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m14s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-28 14:50:48 +02:00
maliakal_d 27d678ee1d all the triggers are in a different workflow and all the big jobs in separate resuable workflows 2026-08-28 14:49:51 +02:00
maliakal_d ddb65092f2 naming
Build on RHEL9 docker image / build (push) Successful in 4m13s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-28 13:48:47 +02:00
maliakal_d 4a9751592a renaming to make sense 2026-08-28 13:46:44 +02:00
maliakal_d abab2ee6fb fix error pr
Build on RHEL9 docker image / build (push) Successful in 4m5s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-28 13:38:04 +02:00
maliakal_d 486ce535cc without pr validate
Build on RHEL9 docker image / build (push) Successful in 4m24s
Build on RHEL8 docker image / build (push) Successful in 5m13s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-28 12:33:36 +02:00
maliakal_d 015f92f199 make detector labels run all 2026-08-28 12:28:38 +02:00
maliakal_d 0d8d33ef46 ignore tests fo rnow
Build on RHEL9 docker image / build (push) Successful in 4m19s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-08-28 11:51:46 +02:00
maliakal_d 6a643f3541 no need of if as anything failing before the consequent jobs are skipped anyway 2026-08-28 11:47:40 +02:00
maliakal_d 978ea99e19 ignoring some other workflows for now
Build on RHEL9 docker image / build (push) Successful in 4m13s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Failing after 3h9m2s
2026-08-28 11:20:13 +02:00
maliakal_d dfee6f9c05 look at head branch PRs to find it 2026-08-28 10:59:17 +02:00
maliakal_d 352627f9a4 trigger is just for code sync
Build on RHEL9 docker image / build (push) Successful in 4m35s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
2026-08-28 10:45:59 +02:00
maliakal_d 81cb32a2cc picked up pr_validation from developer and modified
Build on RHEL9 docker image / build (push) Successful in 3m53s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m29s
2026-08-28 09:41:17 +02:00
maliakal_d fde9463c6e pr validation should also call detector labels workflow
Build on RHEL9 docker image / build (push) Successful in 3m47s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-27 21:54:19 +02:00
maliakal_d 38af62dce5 synchronize triger just checks if pr validation is complete and successfull, if not it fails, else it will run detector labesl workflow. it will not wait for pr validation 2026-08-27 21:42:15 +02:00
maliakal_d 207a7e929a Merge branch 'developer' into dev/pr_automation_2
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 5m7s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m4s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-27 17:21:54 +02:00
maliakal_d acd1f53b37 Dev/pr automation part 1 (#1540)
Build and Deploy on local RHEL9 / build (push) Successful in 2m6s
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 5m8s
Build and Deploy on local RHEL8 / build (push) Successful in 5m4s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m4s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
* added pr validation

* redundnat

* validate type and add label

* breaking api label also in pr validation

* milestone workflow triggered when changing labels and it sets the milestone from the release targets yaml and labels

* milestone workflow triggered when changing labels and it sets the milestone from the release targets yaml and labels

* workflow changing label cannot trigger another workflow, so directly invoking it or if a user changes label for pr milestone workflow

* added trigger workflow for label change by user, added check for infrastructure and breaking api in pr milestone workflow

* typo

* release targets

* milestone workflow should also ensure only 1 primary labels

* it doesnt need to be rerun for commits

* label and unlabel do the checks as well of primary type and brekaing api, it does not need to be in milestone

* pr validation now when primar type and breaking api labels are there and shouldnt be instead of removing them. the the label workflow nowjust ensures labesl and description are the same

* node change

* complain if labels dont match descriotion and retrigger validation workflow for better errors. If none labels, this is okay.. if not, it will give approperiate errors, mainly checking mismatch of labels and descriotion is labels trigger, logic will have been checked in validation anyway and failed if so

* label trigger to run milestone only needs detect-mistmatch and does not need pr validation

* getting rid of checkout for just reading a file from the base branch of PR, if main, give success for milestone

* issues.update is deprecated for prs

* removed label trigger workflow, it will not retrigger itself

* made pr validation not a reusable workflow. it treiggers also on labeled and unlabeled, but ignores unrelated labels, too much resource to check if the checkboxes are edited

* update from pulls back to issues when updating milestone as its not supported yet for pulls

* setting a github rest api version of 2026, else it uses the old one of 2022

* didnt work. removing github api specs for now

* more prints for miestone workflow and infrastructure is now bug fix milestone
2026-08-27 17:19:04 +02:00
maliakal_d b61ddb5a62 makign detector labels a reusable workflow and pr synchronize trigger trigger at synchronize and wait for validation worfklow to be done first
Build on RHEL9 docker image / build (push) Successful in 4m22s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-08-27 11:27:32 +02:00
maliakal_d 9f0d735b35 ignore infrastrucutr prs
Build on RHEL9 docker image / build (push) Successful in 3m46s
Build on RHEL8 docker image / build (push) Successful in 5m22s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m34s
2026-08-25 12:37:49 +02:00
maliakal_d fa02838304 ignore for infrastructure prs 2026-08-25 12:33:50 +02:00
maliakal_d 44d381cad9 removed warning of deprecated node 20 github maybe?
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m18s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-25 12:06:53 +02:00
maliakal_d 3d2effb9c3 do not look at linked issues or prs
Build on RHEL9 docker image / build (push) Successful in 4m19s
Build on RHEL8 docker image / build (push) Successful in 5m23s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-25 11:54:48 +02:00
maliakal_d 2338098bba comment 2026-08-25 11:26:52 +02:00
maliakal_d 4e71f8544b workflow for detector whole word matching from changes in detectorServer folders, matching in pr title description, linked or references issues and prs, change in code with matching labels, add detector labels 2026-08-25 11:20:54 +02:00
mazzol_a 063923acc1 run_upon_workflow_dispatch
Build on RHEL9 docker image / build (push) Successful in 4m11s
Build on RHEL8 docker image / build (push) Successful in 5m5s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9m42s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
2026-08-03 12:21:53 +02:00
mazzol_a 7db947e4d2 Dev/matterhorn server funcs (#1469)
Build on RHEL9 docker image / build (push) Successful in 4m15s
Build on RHEL8 docker image / build (push) Successful in 5m21s
Build and Deploy on local RHEL9 / build (push) Successful in 2m12s
Build and Deploy on local RHEL8 / build (push) Successful in 5m12s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
* added fetch fmt server library

* added first draft of matterhorn

* added cpp TCP Interface to slsDetectorServer

* bug: added std::signal for proper handling of ctr+c

* added compile option to set log level

* WIP

* dont use c project settings when building matterhornserver

* updated logger

* WIP

* WIP

* linked fmt to slsProjectOptions

* solved merge conflict

* some refactoring

* cleaned up logs

* WIP

* generated register defs from csv file

* oops given in hex

* properly added fmt as a dependency

* some format changes

* WIP

* used CRTP for virtual detector

* WIP

* added udp functions to matterhornserver

* fixed build

* added Server class usable for all detectors

* removed stopserver

* added some more functions

* wrong overload

* porper cleanup of matterhorn app

* PR Review

* refactored directory structure

* added shared memory for aqcuisition status

* implemented bus read and write

* added Matterhorn data class

* modified memory model

* added SPI communication

* moved memory for Bus communication to BucCommunication class

* WIP added HelperFunction for mask conversion

* completed HelperFunctions

* added tests for MatterHorn Helper Functions

* removed shared memory in destructor

* fixed SPI communication

* moved SharedMemory to slsSupportLib

* added toolchain file for cross compilation

* fix constructor for HarwareSPICommunication is public

* update receiver parameters function

* updated mac address

* uploaded matterhorn server binary tracked as lfs

* small fixes from tests on board

* automatically update matterhorn api version when cross compiling binaries

* fix bug in SPI read

* copy to server_directory/bin when cross compiling

* fixed cmake list

* update generate_registerdefs.py

* fixed copy of server binary

* always return error message

* add error log when opening dev/mem

* code review

* fixed eiger, mythen tests for dynamic range

* second Review

* member function getDerived for better readability

* split code into implementation class and actual class doing tcp communication

* added slsWarnings and c++17 compiler option

* added git lfs to workflow

* fix gitea workflows

* bug: add extra clock register

* implement initial checks

* bug: client excpetcs 4 bytes

* refactoring directory structure and rename to .hpp

* check if detector already set up

* missed .h to .hpp

* Code Review 3

* use temmplate value for stopserver

* use internal CMAKE_CROSSCOMPILING variable

* moved boolean stop server flag to DetectorImpl - moving template parameter up

* missed a file

* replace baseclass:: with this

* add Matterhorn server in github workflow

* whatever workflow bug- lets see

* fixed receiving trim bits changed to int64_t
2026-07-16 10:10:14 +02:00
maliakal_dandmazzol_a 9cbf588217 debugging (still fails for old cache) (#1485)
Build on RHEL8 docker image / build (push) Successful in 5m11s
Build on RHEL9 docker image / build (push) Successful in 5m16s
Build and Deploy on local RHEL9 / build (push) Successful in 2m5s
Build and Deploy on local RHEL8 / build (push) Successful in 5m38s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m9s
* debugging (still fails for old cache)

* verification removed. Leaving the creating and restorign cachec at v1.6.1 instead of latest for cache-apt-pkgs-action

* cache-apt-pkgs-action at v1.6.1 also for build_documentation yaml

* Clean up run_tests.yaml by removing comments

Removed commented-out line for clarity.

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-07-08 11:39:33 +02:00
maliakal_d 06770da4b3 Dev/fix workflow cmake cache (#1484)
Build on RHEL8 docker image / build (push) Successful in 6m11s
Build on RHEL9 docker image / build (push) Successful in 6m26s
Build and Deploy on local RHEL9 / build (push) Successful in 2m9s
Build and Deploy on local RHEL8 / build (push) Successful in 5m2s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m38s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m8s
* Validate restored apt packages in CI before CMake configuration

Add checks for cached apt dependencies to catch incomplete installations. A temporary Ubuntu mirror/package index mismatch caused apt installation to fail, but the failure was not detected before CMake ran.

* continue on error uncommented to see that it actually restores the previous step. The previous commit was to check the error message on failure to install the packages

* repair didnt run earlier.. checking on condition from custom message

* Remove redundant HDF5 verification step from CI. And fix broken repairs half configured dependenceies before reinstalling requested packages

* fix the simulator tests workflow for the same reason as previous commit (not failing for actual failure to restore installation from cache)

* removed redundant checks for repair as we are not repairing anymore

* use a different cache (changing version)

* changing ubuntu back to 22 instead of 24 (latest) because of 'E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/c/curl/libcurl4-openssl-dev_8.5.0-2ubuntu10.9_amd64.deb 404 Not Found'

* cache at specific version

* version typo

* go back to original version number  (was changed earlier to create a new cache everytime)

* added the other yaml

* minor, but recreating new caches with v1.0 version
2026-07-07 15:17:16 +02:00
mazzol_a 2a24bad218 treating warnings as errors during workflows (#1473)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 4m21s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m37s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m10s
* treating warnings as errors during workflows

* suppress warnings for moench calibration

* no format overflow

* revert formatting

* bettter conditional branching in cmake
2026-06-17 13:50:07 +02:00
lunin_landmaliakal_d f31234bbc3 Add rx_streamdummyheader command (#1442)
Build and Deploy on local RHEL9 / build (push) Successful in 2m1s
Build on RHEL9 docker image / build (push) Successful in 3m49s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Build and Deploy on local RHEL8 / build (push) Successful in 5m6s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m56s
* add rx_restream_stop command. This allows to send a ZMQ dummy header any time user wants to do so. For example this allows to pre-configure the ZMQ processing software before the acquisition begins. Therefore, the dummy header was adapted in order to contain the fields stored in the receiver.

* renamed command, changed inherit, moved commands to zmq related section

* update filename in restreamstop

* renamed helper function, sorted header fields alphabetically

* fixed fnametostream set

* renamed functions, add SetFileName method, format JSON parameters order

* added python bindings and formatting (does nothing really)

* renamed restream stop functions to stream dummy

* checkout .github files from ed8c885

* release notes

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-06-01 12:07:52 +02:00
lunin_landmazzol_a 7db29d55a7 CI: Use conda-build instead conda build (#1464)
Build and Deploy on local RHEL9 / build (push) Successful in 2m8s
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m57s
* repalce conda build with conda-build, bump actions versions

* updated github actions versions to run on node 24

---------

Co-authored-by: Alice <alice.mazzoleni@psi.ch>
2026-05-21 15:56:23 +02:00
mazzol_a bc86449652 Dev/doc/add ctb to doc (#1455)
Build on RHEL9 docker image / build (push) Successful in 4m33s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Build and Deploy on local RHEL9 / build (push) Successful in 2m0s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m50s
* added numpy for patterngenerator

* treat warnings as errors

* fix warnings during docu build

* added power and ctb to documentation
2026-05-12 09:25:35 +02:00
0837de2a5a CTB frequency rounding, CTB frequency measurement, CTB frequency units (#1423)
* round CTB clocks to next closest possible value, added freq measurement

* added time for firmware to measrue actual value after frequency change

* add check for backwards compatibility

* change CTB and XCTB clock values to MHz, TODO: units and validation errors

* changed runclk command to use units and float, TODO: dbit, adcclk, why is everything called StringTo ?

* do the same for dbit and adcclk

* added tolerance to exptime, fixed test

* update default values in server defs

* added virtual check in Altera_PLL, update testcases

* change python and pyctbgui to accept and return floating point MHz

* update help and comments

* Dev/ctb clocks fix (#1434)

* introduced new type Hz, typetraits, String conversions, command generation (not yet generated)

* incorrect unit typo

* cmd generation and compiles

* default to MHz, removed space between units for consistency with timers, min and max checks for clks

* in python, but need to change the default to Hz again for clean code and intuition

* allow ints, doubles, implicit conversions

* dont allow raw ints, doubles and implicit conversions

* fixed tests

* added operators for Hz in python

* fix test for min clk for xilinx ctb

* fix test

* fix python tests

* fixed xilinx period and default clks

* test fix

* removed the 3 clock cycle check for ctb and implemented properly the max adc clk frq for altera ctb

* removing 3 clock cycle code from xilinx as well

* formatting

* loadpattern before 3 clk cycles code

* actualtime and measurement time to be implemented in 100ns already in fw

* fix tests

* pyzmq dependency forthe tests

* fixed pyctbgui for freq

* insert tolerance check again

* also added tolerance check for patwaittime

* formatting

* minor: rounding test

* removed Rep redundant in ToString for freq

* intro frequency unit enums, removed unnecessary template behavior for ToString with freq unit, switching from parsing string unit argument to the enum argument for ToString, adding parsing string to unit at CLI boundary

* minor, and binaries

* minor, default clk vals are 0 but set up at detector setup

* get frequency only for that unit

* tolerance process

* missed in previous commit

* some more changes to exptime and validations

* ctb is probably done

* periodleft and delayleft

* fixed xilinx freq conv as well

* fixed m3 bug, binaries

* xilinx: setup also done in stop server so that the clk is not 0

* missed a test marker

* binaries in

* review fixes, simpler validation of timers in ctb and xilinx ctb

* typo fix

* format

* fix tests

---------

Co-authored-by: Martin Mueller <martin.mueller@psi.ch>
Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-05-06 15:52:13 +02:00
mazzol_aandmaliakal_d bb1a73d718 Dev/matterhornserver (#1396)
Build and Deploy on local RHEL9 / build (push) Successful in 2m0s
Build on RHEL9 docker image / build (push) Successful in 3m34s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Build and Deploy on local RHEL8 / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m43s
Run Simulator Tests on local RHEL8 / build (push) Successful in 18m15s
* added fetch fmt server library

* added first draft of matterhorn

* added enum ReturnCode

* added cpp TCP Interface to slsDetectorServer

* added fmt to workflows

* bug: added std::signal for proper handling of ctr+c

* added compile option to set log level

* WIP

* dont use c project settings when building matterhornserver

* updated logger

* WIP

* WIP

* linked fmt to slsProjectOptions

* solved merge conflict

* some refactoring

* cleaned up logs

* added fmt to workflow

* WIP

* generated register defs from csv file

* oops given in hex

* properly added fmt as a dependency

* add fmt to conda recipe

* some format changes

* dont use public headers of fmt

* WIP

* used CRTP for virtual detector

* WIP

* added udp functions to matterhornserver

* Matterhorn in tostring

* warning unused variable from other PR

* fixed build

* updated cmake

* added Server class usable for all detectors

* removed stopserver

* added some more functions

* wrong overload

* porper cleanup of matterhorn app

* PR Review

* refactored directory structure

* used pause insetad of sleep

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-05-06 13:33:35 +02:00
mazzol_a 973bd89ca5 updated documentation workflow (#1436)
Build on RHEL8 docker image / build (push) Failing after 1s
Build on RHEL9 docker image / build (push) Failing after 0s
Build and Deploy on local RHEL9 / build (push) Successful in 1m57s
Build and Deploy on local RHEL8 / build (push) Successful in 5m1s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m41s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m8s
2026-04-21 11:56:19 +02:00
mazzol_aandmaliakal_d f4658ab094 Dev/automate documentation build (#1357)
* some test about building docs

* indendation error

* typo -

* forgot to get package hdf5

* had to add shinx and doxygen as well

* oke created environmnet file

* typo

* dont use conda

* dont use conda

* cannot upload artefact commit to gh-pages

* correct copy

* mmh

* try with tokem

* set write permisison

* script to update main_index for versioned documentation

* rename main_index to index

* use absolute path in python script

* update main_index upon a release

* extract release type from version

* copy release notes

* updated links from devdoc to slsDetectorPackage, handling .md for new versions

* changed page source

* updated documentation link in README

* add guideline for Package Versioning to documentation also used as a test

* typo in workflow

* why didnt it copy?

* copied from build instead of docs

* change back - trigger for push

* only trigger for pull_requests and releases

* removed conda environment file

* automatically update documentation paths in release notes

* only keep templated README.md

* added README and updated links

* update Release notes template manually

* generate release notes script not needed anymore

* modified readme to reflect dependencies insides build from source

* subheadings in dependencies

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-02-23 14:21:44 +01:00
mazzol_aandmaliakal_d 28b2aa9673 Dev/add simulator tests in GitHub workflows (#1337)
Build on RHEL9 / build (push) Successful in 3m50s
Build on RHEL8 / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m37s
Build on local RHEL9 / build (push) Successful in 1m26s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
Build on local RHEL8 / build (push) Successful in 3m33s
* added simulator tests in github workflows

* indentation error

* typo

* debug

* Logging for debugging

* added more debug lines

* more debugging

* debug

* debug

* debug

* dont throw if process does not exist

* debug

* added absolute path to sls_detector commands

* some refactoring in test scripts

* added absolute path to all slsdet command

* typo

* ../tests/scripts/test_frame_synchronizer.py

* raise exception upon failure for github workflows

* removed hidden tags

* some refactoring in test scripts

* some refactoring

* fixed CMakeLists

* fixed unsuccesful merge

* updated python tests using simulators

* debug import error

* debug module import

* python -m runs module pytest as script - everything in path available

* removed integartion tests

* enable file write not to log files

* run tests without log files

* increased sleep time for udp packets

* added logg level variable to cmake

* added testing policies to documenattion

* disabled check for num_frames for jungfrau & xilinx

* set log level as cmake cached variable

* disable tests for jungfrau and xilinx_ctb

* check frames for HDF5

* updated Documentation of Testing

* changed withdetectorsimulators to detectorintegration

* replaced [.cmdcall] with [.detectorintegration]

* check_file_size only disabled for jungfrau - disable for all roi tests

* changed time to wait after receive to 5 ms

* take into account half modules of eiger

* num udp interfaces needs to be consistent across modules

* suppressed warning enclosing if

* config added 2 udp ports per default for moench and jungfrau

* write detector output to console

* allow jungfrau to tests num frames, remove unused variable (numinterfaces), add comment for future to handle traceback to know which calling function threw the files unmatched, added documentation for tests (examples for .detectoritnegration and how to disable marked tests, removed addditional argumetns to disable for test_simulator as one can just use ~, removed the check that checks for jungfrau checking number of frames at master attributes and at rx test, removed unused advanced_test_settings in test_simulator script, the num_mods check for multiple modules is removed and default num  modules set to 1 for test_simulator (to be increased later), back to raising exception for killprocess

* removed integration tests from cmakelists.txt and cmk.sh, modified the tests workflow command to reflect the disable argument and removed xilinx_ctb from test (fix fromdeveloper merge to be done)

* filtering by actual name for disable certain tests on github workflow

* minor refactor

* wip

* wip

* changes to run on local rh9 runner instead of github workfloa

* modified yml to remove some leftover from github workflow

* test

* fix build_dir in scripts (github workflow) and pytest dir in gitea workflow

* making the local machine use python3.13 binary

* pythonpath added

* changes for build_Dir back

* allowing ctb api tests

* allowed ctb api tests and set up slsdetname envt variable for shared memory being reserved just for these tests

* added rh8 workflow for local runner on gitea

* remnants from rh9 local runner

* remnants from rh9 local runner

* conda env for all shell for local runner

* allowing hdf5 to build on local runner

* run all tests for both the runners

* refactored fixtures a bit and merged some tests that use one session for entire server

* test fail

* test fix

* adding github workflow to test without data file checks and without logs

* documentation changes

* unnecessary import in conftest

* allowing the session_simulator to test for multiple modules and interfaces etc

* allow test_simulator script to run for 2 modules for all modules except ctb and xilinx ctb

* run upon push

* removing the disable file check on github workflow

* minor adjustment

* testing without synch

* reverting to previous

* with log file

* without the space

* summary from file and more error extracts from file to terminal

* minor

* trying nlf for more details

* updated with no log file to print everything to screen  also for det and rxr

* trying a no throw

* stoi was more about indent in yaml

* tries

* wip

* debug

* number of frames inconsistent fix=>just take first one, only test xilinx

* jungfrau tests without frames caught check

* extend the disable file check to everywhere that creates files

* specify path for test_simulator

* withoutprinting ==

* wip

* back with printing===, but not parsing file for errors anymore

* lang?

* wip

* safe log?

* wip2

* wip

* dont split error as its streaming live, just raise

* with log files

* lang?

* last resort

* wip

* test no det with general tests

* show tests live

* also include hidden integration tests

* without extra summary?

* revert

* last resort again

* tsquash on int64_t?

* tsquash on int64_t? mroe print

* writing to /tmp?

* all tests

* might be the fix?

* write to file

* fixed a few quiet mode no log file tests

* work on any branch for github tests, work on also release candidates for gitea tests

* added frame synchronizer tests to github workflow

* moved tests to run_tests.yaml from cmake.yaml

* documentation

* disabled general tests

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-02-03 11:45:12 +01:00
mazzol_a e7f5a2aa11 added colorama in github workflows 2025-11-26 12:24:27 +01:00
Erik Fröjdh f32fcf1e88 Using system libzmq in conda builds (#1327)
Build on RHEL8 / build (push) Successful in 5m18s
Build on RHEL9 / build (push) Successful in 5m21s
* system (conda) libzmq
* added python 3.14 and bumped cibuildwheel version
2025-11-25 16:53:20 +01:00
Erik Fröjdh d3dc92b18b Using find_package(Threads REQUIRED) instead of linking pthread directly (#1324)
Build on RHEL9 / build (push) Successful in 4m30s
Build on RHEL8 / build (push) Successful in 4m42s
* Linking to Threads::Threads instead of pthread directly 
* moved rt linking to slsSupportObject and only enable for linux
2025-10-27 16:30:40 +01:00
Erik Fröjdh 41989836e7 added the deploy workflows for conda (#1301)
Build on RHEL8 / build (push) Failing after 5s
Build on RHEL9 / build (push) Failing after 4m27s
2025-10-21 11:42:36 +02:00
froejdh_e f4345a91a1 added workflow for python wheels 2025-06-13 16:13:17 +02:00
mazzol_a bace9edf89 updatet regex pattern to support postfix
Native CMake Build / Configure and build using cmake (push) Failing after 3s
2025-04-23 17:09:06 +02:00
mazzol_a 99735c3ee5 got typo in github workflow
Native CMake Build / Configure and build using cmake (push) Failing after 3s
2025-04-23 14:46:12 +02:00
mazzol_a 2571397c70 saving changes in git workflow failed 2025-04-23 14:38:51 +02:00
mazzol_a 497c3abfc2 managed to load VERSION file in yaml file - simplifies things 2025-04-23 14:26:26 +02:00
mazzol_a fca31cc432 updated github workflow scripts to support automatic version numbering with environment variable
Native CMake Build / Configure and build using cmake (push) Failing after 24s
2025-04-22 17:05:06 +02:00