2020-04-20 20:18:40 +02:00
|
|
|
#! /bin/bash -eu
|
|
|
|
|
2021-12-02 00:32:41 +01:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
2020-04-20 20:18:40 +02:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug \
|
|
|
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
|
|
|
-DRUN_IN_PLACE=TRUE \
|
2020-05-02 12:52:51 +02:00
|
|
|
-DENABLE_{GETTEXT,SOUND}=FALSE \
|
2020-04-20 20:18:40 +02:00
|
|
|
-DBUILD_SERVER=TRUE ..
|
|
|
|
make GenerateVersion
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
./util/ci/run-clang-tidy.py \
|
2021-12-02 00:32:41 +01:00
|
|
|
-clang-tidy-binary=clang-tidy-9 -p build \
|
2020-04-20 20:18:40 +02:00
|
|
|
-quiet -config="$(cat .clang-tidy)" \
|
|
|
|
'src/.*'
|