adds gitea action
Some checks failed
Test And Build / Lint (push) Failing after 7s
Test And Build / Build (push) Successful in 7s

This commit is contained in:
2025-07-04 14:35:07 +02:00
parent 354e9d90fb
commit 683fa2138f
2 changed files with 21 additions and 51 deletions

View File

@@ -0,0 +1,21 @@
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 sinqEPICSApp/src/*.cpp
- name: formatting
run: clang-format --style=file --Werror --dry-run sinqEPICSApp/src/*.cpp sinqEPICSApp/src/*.c sinqEPICSApp/src/*.h
Build:
runs-on: linepics
steps:
- name: checkout repo
uses: actions/checkout@v4
- run: |
sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile.RHEL8
make -f Makefile.RHEL8 install