Skip to content

Commit

Permalink
Fix macos tests and run them in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pferrand-soundhound committed Jul 25, 2022
1 parent 9527c13 commit ae05002
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,13 @@ jobs:
-DSFIZZ_LV2_UI=ON \
-DSFIZZ_VST=ON \
-DSFIZZ_JACK=OFF \
-DSFIZZ_TESTS=OFF \
-DSFIZZ_TESTS=ON \
-DSFIZZ_SHARED=OFF \
-DSFIZZ_STATIC_DEPENDENCIES=OFF
- name: Build and run tests
run: |
cmake --build . --config "Release" -j 2 --target sfizz_tests && \
ctest -j 2 --output-on-failure
- name: Build plugins
shell: bash
working-directory: ${{runner.workspace}}/build
Expand Down
2 changes: 1 addition & 1 deletion src/sfizz/simd/HelpersSSE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void gainSSE(const float* gain, const float* input, float* output, unsigned size

#if SFIZZ_HAVE_SSE2
const auto* lastAligned = prevAligned<ByteAlignment>(sentinel);
while (unaligned<ByteAlignment>(input, output) && output < lastAligned)
while (unaligned<ByteAlignment>(input, output, gain) && output < lastAligned)
*output++ = (*gain++) * (*input++);

while (output < lastAligned) {
Expand Down

0 comments on commit ae05002

Please sign in to comment.