diff --git a/.buildkite/cmakecheck.yml b/.buildkite/cmakecheck.yml new file mode 100644 --- /dev/null +++ b/.buildkite/cmakecheck.yml @@ -0,0 +1,12 @@ +steps: + - label: 'cmake-lint' + command: + - 'pip install cmakelang' + - 'shopt -s globstar' + - 'cmake-lint **/CMakeLists.txt **/*.cmake' + plugins: + - docker#v3.13.0: + image: 'python:bullseye' + shell: ['/bin/bash', '-e', '-c'] + agents: + - 'autoscaling=true' diff --git a/services/tunnelbroker/CMakeLists.txt b/services/tunnelbroker/CMakeLists.txt --- a/services/tunnelbroker/CMakeLists.txt +++ b/services/tunnelbroker/CMakeLists.txt @@ -60,7 +60,9 @@ file(GLOB_RECURSE SOURCE_CODE "./src/*.cpp") set(GENERATED_CODE ${proto_srcs} ${proto_hdrs} ${grpc_srcs} ${grpc_hdrs}) -file(GLOB DOUBLE_CONVERSION_SOURCES "./lib/double-conversion/double-conversion/*.cc") +file(GLOB DOUBLE_CONVERSION_SOURCES + "./lib/double-conversion/double-conversion/*.cc" +) include_directories( ./src