Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
- uses: actions/checkout@v2
- name: Install clang-tidy
run: |
sudo apt-get install llvm-9 clang-tidy-9
sudo apt-get install llvm-9 clang-9 libclang-9-dev clang-tidy-9
sudo apt-get remove llvm-8 clang-8 libclang-8-dev clang-tidy-8
- name: Build Compilation DB
run: |
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DHALIDE_REQUIRE_LLVM_VERSION=90 -S . -B build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_DIR=/usr/lib/llvm-9/lib/cmake/llvm -S . -B build
[ -a build/compile_commands.json ]
- name: Run clang-tidy
run: |
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ build-osx/*
cmake_build*/*
*/build/*
tmp/*
doc/*
include/*
distrib/*
testing/*
Expand Down Expand Up @@ -89,3 +88,5 @@ src/.tags_sorted_by_file

/.vs
/CMakeSettings.json
/venv/
/cmake-build-*/
Loading