2020-04-20 11:18:40 -07:00
|
|
|
#! /bin/bash -eu
|
|
|
|
|
2022-01-31 16:42:24 -08:00
|
|
|
cmake -B build -DCMAKE_BUILD_TYPE=Debug \
|
2020-04-20 11:18:40 -07:00
|
|
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
|
|
|
-DRUN_IN_PLACE=TRUE \
|
2020-05-02 03:52:51 -07:00
|
|
|
-DENABLE_{GETTEXT,SOUND}=FALSE \
|
2022-01-31 16:42:24 -08:00
|
|
|
-DBUILD_SERVER=TRUE
|
|
|
|
cmake --build build --target GenerateVersion
|
2020-04-20 11:18:40 -07:00
|
|
|
|
|
|
|
./util/ci/run-clang-tidy.py \
|
2021-12-01 15:32:41 -08:00
|
|
|
-clang-tidy-binary=clang-tidy-9 -p build \
|
2020-04-20 11:18:40 -07:00
|
|
|
-quiet -config="$(cat .clang-tidy)" \
|
|
|
|
'src/.*'
|