master #6

Merged
BRNSystems merged 85 commits from Mirrorlandia_minetest/minetest:master into master 2024-01-09 17:53:52 +01:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 094c433e58 - Show all commits

@ -23,15 +23,18 @@ on:
- 'util/ci/**' - 'util/ci/**'
- '.github/workflows/**.yml' - '.github/workflows/**.yml'
env:
CLANG_TIDY: clang-tidy-15
jobs: jobs:
clang_tidy: clang_tidy:
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install deps - name: Install deps
run: | run: |
source ./util/ci/common.sh source ./util/ci/common.sh
install_linux_deps clang-tidy-9 install_linux_deps $CLANG_TIDY
- name: Run clang-tidy - name: Run clang-tidy
run: | run: |

@ -3,11 +3,11 @@
cmake -B build -DCMAKE_BUILD_TYPE=Debug \ cmake -B build -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DRUN_IN_PLACE=TRUE \ -DRUN_IN_PLACE=TRUE \
-DENABLE_{GETTEXT,SOUND}=FALSE \ -DENABLE_GETTEXT=FALSE \
-DBUILD_SERVER=TRUE -DBUILD_SERVER=TRUE
cmake --build build --target GenerateVersion cmake --build build --target GenerateVersion
./util/ci/run-clang-tidy.py \ ./util/ci/run-clang-tidy.py \
-clang-tidy-binary=clang-tidy-9 -p build \ -clang-tidy-binary=$CLANG_TIDY -p build \
-quiet -config="$(cat .clang-tidy)" \ -quiet -config="$(cat .clang-tidy)" \
'src/.*' 'src/.*'