We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ff00f3 commit 47e6a2cCopy full SHA for 47e6a2c
.github/workflows/ci.yml
@@ -161,3 +161,18 @@ jobs:
161
alert-threshold: '5%'
162
comment-always: true
163
fail-on-alert: false
164
+
165
+ clang-tidy:
166
+ runs-on: ubuntu-latest
167
+ steps:
168
+ - uses: actions/checkout@v4
169
+ - run: cmake --version
170
+ - run: >
171
+ cmake -S . -B ./build
172
+ -DCMAKE_BUILD_TYPE:STRING=Release
173
+ -DSOURCEMETA_CORE_TESTS:BOOL=OFF
174
+ -DSOURCEMETA_CORE_BENCHMARK:BOOL=OFF
175
+ -DSOURCEMETA_CORE_DOCS:BOOL=OFF
176
+ -DBUILD_SHARED_LIBS:BOOL=OFF
177
+ -DCMAKE_COMPILE_WARNING_AS_ERROR:BOOL=ON
178
+ - run: cmake --build ./build --config Release --target clang_tidy
0 commit comments