Skip to content

Commit

Permalink
Improve clang-tidy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Jun 12, 2022
1 parent b2ecbc0 commit ffe80d8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyze_clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: CMake configure -- Release
run: |
cmake -S . -G "Unix Makefiles" -B build -DCMAKE_BUILD_TYPE=Release -DTA_ENABLE_WERROR=ON -DCMAKE_C_COMPILER="clang-14" -DCMAKE_CXX_COMPILER="clang++-14"
cmake --build build --target StiggiDJ
cmake --build build --target StiggiDJ_BinaryData
- name: Clang-Tidy -- Release
run: BUILD_DIR=build make tidy-check
16 changes: 14 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ set_directory_properties(PROPERTIES JUCE_COMPANY_NAME "tobantAudio")
set_directory_properties(PROPERTIES JUCE_COMPANY_WEBSITE "https://github.com/tobanteAudio/StiggiDJ")
set_directory_properties(PROPERTIES JUCE_COMPANY_EMAIL "[email protected]")

juce_add_binary_data(StiggiDJ_BinaryData
HEADER_NAME
"BinaryData.hpp"
NAMESPACE
tabd
SOURCES
"Makefile"
)

juce_add_gui_app(StiggiDJ
PRODUCT_NAME "Stiggi DJ"
BUNDLE_ID "com.tobanteAudio.stiggi-dj"
Expand Down Expand Up @@ -113,16 +122,19 @@ target_include_directories(StiggiDJ

target_link_libraries(StiggiDJ
PRIVATE
StiggiDJ_BinaryData

juce::juce_gui_extra
juce::juce_audio_basics
juce::juce_audio_devices
juce::juce_audio_formats
juce::juce_audio_utils
PUBLIC
ta::rubberband

juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags

ta::rubberband
ta::compiler_options
ta::compiler_warnings
ta::coverage
Expand Down

0 comments on commit ffe80d8

Please sign in to comment.