Skip to content

Commit

Permalink
Overhaul CMake build. Normalize test outputs to support CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed May 27, 2020
1 parent 9d03c35 commit d7034c8
Show file tree
Hide file tree
Showing 317 changed files with 6,718 additions and 9,152 deletions.
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

0 comments on commit d7034c8

Please sign in to comment.