File tree Expand file tree Collapse file tree 2 files changed +51
-1
lines changed
Expand file tree Collapse file tree 2 files changed +51
-1
lines changed Original file line number Diff line number Diff line change 66 # branches: [ master ]
77
88jobs :
9- ci :
9+ build :
1010 name : " CI"
1111 uses : ./.github/workflows/build.yml
1212 with :
1313 git-ref : ${{ github.ref }}
1414
15+ check :
16+ name : " Clang-Tidy"
17+ uses : ./.github/workflows/clangtidy.yml
18+ with :
19+ git-ref : ${{ github.ref }}
20+
Original file line number Diff line number Diff line change 1+ name : Clang-Tidy
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ git-ref :
6+ description : A commit, branch or tag to build.
7+ type : string
8+ required : true
9+ workflow_call :
10+ inputs :
11+ git-ref :
12+ description : A commit, branch or tag to build.
13+ type : string
14+ required : true
15+
16+ jobs :
17+ check :
18+ runs-on : ubuntu-latest
19+ container : silkeh/clang
20+
21+ steps :
22+ - name : Set up Python
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.13'
26+
27+ - name : Set up SCons
28+ shell : bash
29+ run : |
30+ python -c "import sys; print(sys.version)"
31+ python -m pip install scons==4.7.0
32+ scons --version
33+
34+ - name : Checkout project
35+ uses : actions/checkout@v4
36+ with :
37+ submodules : recursive
38+ ref : ${{ inputs.git-ref }}
39+
40+ - name : Run Clang-Tidy
41+ shell : sh
42+ run : |
43+ ./compile_debug.sh compiledb
44+ ./run_clang_tidy.sh -warnings-as-errors '*'
You can’t perform that action at this time.
0 commit comments