mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
27a485a472
* Move outside of travis to Github actions This will permit to have better integrated CI workflow than the previous travis one.
19 lines
376 B
Bash
Executable File
19 lines
376 B
Bash
Executable File
#! /bin/bash -eu
|
|
|
|
mkdir -p cmakebuild
|
|
cd cmakebuild
|
|
cmake -DCMAKE_BUILD_TYPE=Debug \
|
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
|
-DRUN_IN_PLACE=TRUE \
|
|
-DENABLE_GETTEXT=TRUE \
|
|
-DENABLE_SOUND=FALSE \
|
|
-DBUILD_SERVER=TRUE ..
|
|
make GenerateVersion
|
|
|
|
cd ..
|
|
|
|
./util/ci/run-clang-tidy.py \
|
|
-clang-tidy-binary=clang-tidy-9 -p cmakebuild \
|
|
-quiet -config="$(cat .clang-tidy)" \
|
|
'src/.*'
|