lint: compile la-lint and use in place of clang-tidy
This commit is contained in:
1 parent
942984fd7d
commit
e19d93fe22
1 file changed
+7
-1
@@ -17,10 +17,16 @@ jobs:
|
||||
run: sudo apt-get update
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -y autoconf automake build-essential cmake git libssl-dev nettle-dev libmbedtls-dev libacl1-dev libbz2-dev liblzma-dev liblz4-dev libzstd-dev lzop pkg-config zlib1g-dev libclang-22-dev libclang-cpp22-dev clang-22 ninja-build
|
||||
- name: Install Lint
|
||||
run: |-
|
||||
set -euo pipefail
|
||||
cmake -S build/la-lint -B /tmp/lint-build -GNinja
|
||||
cmake --build /tmp/lint-build
|
||||
cmake --install /tmp/lint-build
|
||||
- name: Configure
|
||||
run: ./build/ci/build.sh -a configure
|
||||
env:
|
||||
CMAKE_ARGS: -GNinja -DENABLE_CLANG_TIDY=YES
|
||||
CMAKE_ARGS: -GNinja -DENABLE_CLANG_TIDY=YES -DCLANG_TIDY_PATH=la-lint
|
||||
- name: Build
|
||||
run: ./build/ci/build.sh -a build
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user