Skip to content

Commit

Permalink
[#47]: Add clang-tidy to workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Oct 16, 2020
1 parent 69ca727 commit c9e45f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y xorg-dev
sudo apt-get install -y libc++-9-dev
echo "::set-env name=CXX::clang++-9"
sudo apt-get install -y cppcheck
sudo apt-get install -y llvm-dev
sudo apt-get install -y clang-tidy
cmake -E make_directory ${{runner.workspace}}/build
Expand All @@ -26,3 +24,10 @@ jobs:
run: |
cmake $GITHUB_WORKSPACE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .
cppcheck src --enable=all --project=compile_commands.json -i$GITHUB_WORKSPACE/lib
- name: clang-tidy
working-directory: ${{runner.workspace}}/build
run: |
run-clang-tidy
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![Windows](https://github.com/JacobDomagala/Shady/workflows/Windows%20Full%20Build/badge.svg)
![Ubuntu](https://github.com/JacobDomagala/Shady/workflows/Ubuntu%20Full%20Build/badge.svg)
![Windows](https://github.com/JacobDomagala/Shady/workflows/Windows%20full%20build/badge.svg)
![Ubuntu](https://github.com/JacobDomagala/Shady/workflows/Ubuntu%20full%20build/badge.svg)

# DEngine
OpenGL graphics engine
Expand Down

0 comments on commit c9e45f9

Please sign in to comment.