[build] Fix Gradle compile_commands.json and clang-tidy warnings (#5977)

This commit is contained in:
Tyler Veness
2023-12-02 21:20:43 -08:00
committed by GitHub
parent 76ae090570
commit ca272de400
11 changed files with 123 additions and 6 deletions

View File

@@ -68,7 +68,10 @@ jobs:
- name: Install wpiformat
run: pip3 install wpiformat
- name: Create compile_commands.json
run: ./gradlew generateCompileCommands -Ptoolchain-optional-roboRio
run: |
./gradlew generateCompileCommands -Ptoolchain-optional-roboRio
./.github/workflows/fix_compile_commands.py build/TargetedCompileCommands/linuxx86-64release/compile_commands.json
./.github/workflows/fix_compile_commands.py build/TargetedCompileCommands/linuxx86-64debug/compile_commands.json
- name: List changed files
run: wpiformat -list-changed-files
- name: Run clang-tidy release