Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions upgrade #123

Merged
merged 1 commit into from
Jul 28, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading