Skip to content

Commit da40fc2

Browse files
committed
Github Action to run cpplint
1 parent 68c74b5 commit da40fc2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/cpplint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: cpplint C++ linter
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: Ubuntu Latest
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout ${{ github.ref_name }}
11+
uses: actions/checkout@v4
12+
- run: git submodule update --init --recursive
13+
- run: mkdir build
14+
- run: cmake -G "Unix Makefiles" -DSQLITECPP_BUILD_LIBRARY=OFF -DSQLITE_ENABLE_COLUMN_METADATA=OFF -DSQLITECPP_RUN_CPPLINT=ON ..
15+
working-directory: build
16+
- run: cmake --build ./build/

0 commit comments

Comments
 (0)