Merge pull request #537 from paulfd/appveyor-tests

Enable tests on appveyor
This commit is contained in:
Paul Ferrand 2020-11-01 00:10:13 +01:00 committed by GitHub
commit 04bb6d2dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -33,7 +33,9 @@ for:
before_build: before_build:
- chmod +x ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/before_build.sh - chmod +x ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/before_build.sh
- ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/before_build.sh - ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/before_build.sh
build_script: cd build && make -j2 build_script:
- cd build && make -j2
- tests/sfizz_tests
after_build: after_build:
- chmod +x ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/after_build.sh - chmod +x ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/after_build.sh
- ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/after_build.sh - ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/after_build.sh

View file

@ -8,7 +8,7 @@ if %platform%==x64 set RELEASE_ARCH=x64
cmake .. -G"Visual Studio 16 2019" -A"%RELEASE_ARCH%"^ cmake .. -G"Visual Studio 16 2019" -A"%RELEASE_ARCH%"^
-DSFIZZ_JACK=OFF^ -DSFIZZ_JACK=OFF^
-DSFIZZ_BENCHMARKS=OFF^ -DSFIZZ_BENCHMARKS=OFF^
-DSFIZZ_TESTS=OFF^ -DSFIZZ_TESTS=ON^
-DSFIZZ_LV2=ON^ -DSFIZZ_LV2=ON^
-DSFIZZ_VST=ON^ -DSFIZZ_VST=ON^
-DCMAKE_BUILD_TYPE=Release^ -DCMAKE_BUILD_TYPE=Release^

View file

@ -6,7 +6,7 @@ mkdir -p build/${INSTALL_DIR} && cd build
cmake -DCMAKE_BUILD_TYPE=Release \ cmake -DCMAKE_BUILD_TYPE=Release \
-DSFIZZ_VST=ON \ -DSFIZZ_VST=ON \
-DSFIZZ_AU=ON \ -DSFIZZ_AU=ON \
-DSFIZZ_TESTS=OFF \ -DSFIZZ_TESTS=ON \
-DCMAKE_CXX_STANDARD=14 \ -DCMAKE_CXX_STANDARD=14 \
-DLV2PLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/LV2 \ -DLV2PLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/LV2 \
-DVSTPLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/VST3 \ -DVSTPLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/VST3 \