AArch64 update to LLVM 18 #46
Workflow file for this run
This file contains 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: Run clang-tidy | |
on: | |
push: | |
paths: | |
- '**.c' | |
- '**.h' | |
pull_request: | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
name: Install clang-tidy | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install clang-tidy | |
run: | | |
sudo apt install clang-tidy | |
- name: Build | |
run: | | |
mkdir build && cd build | |
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_SHARED_LIBS=1 .. | |
sudo cmake --build . --config Release | |
cd .. | |
- name: Check for warnings | |
run: | | |
./run-clang-tidy.sh build |