appveyor: build unit tests

This commit is contained in:
derselbst 2018-04-06 20:28:45 +02:00
parent fdc943b8ad
commit 2fbcd84238
2 changed files with 6 additions and 2 deletions

View file

@ -56,7 +56,9 @@ build_script:
- mkdir build - mkdir build
- cd build - cd build
- cmake -G "%generator%" %CMAKE_FLAGS% -Denable-pkgconfig=0 -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake .. - cmake -G "%generator%" %CMAKE_FLAGS% -Denable-pkgconfig=0 -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
- cmake --build . --config Release - cmake --build . --config Release # build libfluidsynth and fluidsynth exec
- cmake -Denable-tests=1 ..
- cmake --build . --config Release --target check # build unittests
after_build: after_build:
- 7z a fluidsynth.zip %APPVEYOR_BUILD_FOLDER%\build\src\Release\* - 7z a fluidsynth.zip %APPVEYOR_BUILD_FOLDER%\build\src\Release\*

View file

@ -58,7 +58,9 @@ build_script:
- mkdir build - mkdir build
- cd build - cd build
- cmake -G "%generator%" .. - cmake -G "%generator%" ..
- cmake --build . --config Release - cmake --build . --config Release # build libfluidsynth and fluidsynth exec
- cmake -Denable-tests=1 ..
- cmake --build . --config Release --target check # build unittests
after_build: after_build:
- 7z a fluidsynth.zip %APPVEYOR_BUILD_FOLDER%\build\src\Release\* c:\deps\bin\libglib*.dll c:\deps\bin\libgthread*.dll c:\deps\bin\*intl*.dll - 7z a fluidsynth.zip %APPVEYOR_BUILD_FOLDER%\build\src\Release\* c:\deps\bin\libglib*.dll c:\deps\bin\libgthread*.dll c:\deps\bin\*intl*.dll