-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (54 loc) · 1.55 KB
/
check.yml
File metadata and controls
60 lines (54 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: check
on: [workflow_call]
jobs:
clang-checks:
runs-on: ubuntu-latest
container: oraclelinux:9
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
clang-tools: true
- name: make format-check
run: make format
- name: make tidy-check
run: make tidy
editor-config:
runs-on: ubuntu-latest
container: mstruebing/editorconfig-checker
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Check editorconfig
run: ec --exclude .git
include-orders:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run include-order-checker
run: "! grep -r -A 10 '#include <' src/ include/ | grep -B 10 '#include \"'"
cppcheck:
uses: ./.github/workflows/cppcheck.yml
doxygen:
runs-on: ubuntu-latest
container: oraclelinux:9
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Install doxygen
run: |
dnf config-manager --set-enabled ol9_codeready_builder
dnf install -y doxygen
- name: make doxygen
run: make doxygen CMAKE_ARGS="-DDOXYGEN_WARN_AS_ERROR=YES"
- name: upload Doxygen artifact
uses: actions/upload-artifact@v4
with:
name: doxygen
path: ./build/doc/doxygen/html
retention-days: 7