Skip to content

Commit

Permalink
Github Actions upgrade (#123)
Browse files Browse the repository at this point in the history
add code qual check
move catch2 out of source dir
  • Loading branch information
baconpaul authored Jul 28, 2024
1 parent 28bd999 commit fee0298
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Format Check
on: [pull_request]
jobs:
formatting-check:
name: Clang Format Check
runs-on: ubuntu-latest
strategy:
matrix:
path: [ 'tests', 'include' ]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run clang-format style check
uses: surge-synthesizer/sst-githubactions/clang-format-check@main
with:
path: ${{ matrix.path }}
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if (${SST_EFFECTS_BUILD_TESTS})
target_link_libraries(${PROJECT_NAME}-test PUBLIC simde sst-basic-blocks sst-filters sst-waveshapers fmt ${PROJECT_NAME})
target_compile_definitions(${PROJECT_NAME}-test PUBLIC _USE_MATH_DEFINES=1)
target_compile_definitions(${PROJECT_NAME}-test PRIVATE CATCH_CONFIG_DISABLE_EXCEPTIONS=1)
target_include_directories(${PROJECT_NAME}-test PRIVATE libs/catch2)

endif ()

Expand All @@ -82,4 +83,4 @@ if (TARGET eurorack)
target_compile_definitions(${PROJECT_NAME} INTERFACE SST_EFFECTS_EURORACK=1)
else()
message(STATUS "sst-effects built without eurorack library; Nimbus effect is no-op")
endif()
endif()
File renamed without changes.

0 comments on commit fee0298

Please sign in to comment.