aboutsummaryrefslogtreecommitdiff
path: root/util/ci
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2021-12-01 18:32:41 -0500
committerrubenwardy <rw@rubenwardy.com>2022-04-08 14:55:21 +0100
commitea2fba877a6d1d1170bc64bc9586edb615da584d (patch)
treef3a198ae7d90eeaa86832d056dd84583334667e8 /util/ci
parent5683bb76cc3a60d952c9f58c41adaa5f195dd3f4 (diff)
downloadminetest-ea2fba877a6d1d1170bc64bc9586edb615da584d.tar.gz
minetest-ea2fba877a6d1d1170bc64bc9586edb615da584d.tar.bz2
minetest-ea2fba877a6d1d1170bc64bc9586edb615da584d.zip
Use build directory for builds
Diffstat (limited to 'util/ci')
-rwxr-xr-xutil/ci/build.sh4
-rwxr-xr-xutil/ci/clang-tidy.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/util/ci/build.sh b/util/ci/build.sh
index ba77cd645..32b5c92a7 100755
--- a/util/ci/build.sh
+++ b/util/ci/build.sh
@@ -1,7 +1,7 @@
#! /bin/bash -e
-mkdir cmakebuild
-cd cmakebuild
+mkdir build
+cd build
cmake -DCMAKE_BUILD_TYPE=Debug \
-DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \
-DBUILD_SERVER=TRUE ${CMAKE_FLAGS} ..
diff --git a/util/ci/clang-tidy.sh b/util/ci/clang-tidy.sh
index bb4e99fef..74578eeac 100755
--- a/util/ci/clang-tidy.sh
+++ b/util/ci/clang-tidy.sh
@@ -1,7 +1,7 @@
#! /bin/bash -eu
-mkdir -p cmakebuild
-cd cmakebuild
+mkdir -p build
+cd build
cmake -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DRUN_IN_PLACE=TRUE \
@@ -12,6 +12,6 @@ make GenerateVersion
cd ..
./util/ci/run-clang-tidy.py \
- -clang-tidy-binary=clang-tidy-9 -p cmakebuild \
+ -clang-tidy-binary=clang-tidy-9 -p build \
-quiet -config="$(cat .clang-tidy)" \
'src/.*'