4 Commits
1.1.1 ... 1.2.2

Author SHA1 Message Date
36cb878f68 Removed C++ only flag and updated turboPmac
All checks were successful
Test And Build / Lint (push) Successful in 3s
Test And Build / Build (push) Successful in 13s
2025-08-22 15:32:49 +02:00
c8bd7755b7 Updated sinqMotor to fix bug in forcedPoll
All checks were successful
Test And Build / Lint (push) Successful in 2s
Test And Build / Build (push) Successful in 13s
2025-08-14 17:27:54 +02:00
b7bc762cec Updated turboPmac to 1.4.0
All checks were successful
Test And Build / Lint (push) Successful in 3s
Test And Build / Build (push) Successful in 13s
2025-08-12 09:33:26 +02:00
5258ac6be6 adds gitea action
All checks were successful
Test And Build / Lint (push) Successful in 2s
Test And Build / Build (push) Successful in 14s
2025-07-04 14:38:57 +02:00
4 changed files with 33 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
name: Test And Build
on: [push]
jobs:
Lint:
runs-on: linepics
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: cppcheck
run: cppcheck --std=c++17 --addon=cert --addon=misc --error-exitcode=1 src/*.cpp
- name: formatting
run: clang-format --style=file --Werror --dry-run src/*.cpp src/*.h
Build:
runs-on: linepics
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
submodules: 'true'
- run: |
pushd turboPmac
sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile
echo -e "\nIGNORE_SUBMODULES += sinqmotor" >> Makefile
make install
popd
- run: |
sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile
echo -e "\nIGNORE_SUBMODULES += turboPmac" >> Makefile
make install

View File

@@ -35,4 +35,4 @@ DBDS += turboPmac/sinqMotor/src/sinqMotor.dbd
DBDS += turboPmac/src/turboPmac.dbd
DBDS += src/beamShift.dbd
USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
USR_CFLAGS += -Wall -Wextra -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings

View File

@@ -3,7 +3,7 @@
#include "turboPmacAxis.h"
#include "turboPmacController.h"
class beamShiftAxis : public turboPmacAxis {
class HIDDEN beamShiftAxis : public turboPmacAxis {
public:
/**
* @brief Construct a new beamShiftAxis