xth place no longer increments without sv_spectator_slots enabled #130
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check clang-tidy | |
| on: | |
| push: | |
| branches-ignore: | |
| - gh-readonly-queue/** | |
| - master | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| check-clang-tidy: | |
| runs-on: ubuntu-latest | |
| env: | |
| CARGO_HTTP_MULTIPLEXING: false | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Prepare Linux | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install pkg-config cmake ninja-build libfreetype6-dev libnotify-dev libsdl2-dev libsqlite3-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libx264-dev libvulkan-dev glslang-tools spirv-tools libglew-dev -y | |
| - name: Cache Rust dependencies | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install Clang 20 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y wget gnupg lsb-release | |
| wget https://apt.llvm.org/llvm.sh | |
| chmod +x llvm.sh | |
| sudo ./llvm.sh 20 all | |
| - name: Build with clang-tidy | |
| run: | | |
| mkdir clang-tidy | |
| cd clang-tidy | |
| cmake -G Ninja \ | |
| -DCMAKE_CXX_CLANG_TIDY="clang-tidy-20;-warnings-as-errors=*" \ | |
| -DCMAKE_C_CLANG_TIDY="clang-tidy-20;-warnings-as-errors=*" \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -Werror=dev \ | |
| -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=. .. | |
| cmake --build . --config Debug --target everything -- -k 0 |