mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 14:32:12 +00:00
add a vcpkg based appveyor build config
based on ff411b9f99a562a2decd83323ef51bc784d512b2 by @mawe42
This commit is contained in:
parent
e4f338d014
commit
0e0df80f58
1 changed files with 38 additions and 0 deletions
38
.appveyor-vcpkg.yml
Normal file
38
.appveyor-vcpkg.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
os:
|
||||
- Visual Studio 2015
|
||||
|
||||
build:
|
||||
verbosity: detailed
|
||||
|
||||
configuration:
|
||||
- Release
|
||||
|
||||
environment:
|
||||
# update the vcpkg cache even if build fails
|
||||
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
||||
|
||||
matrix:
|
||||
- platform: x86
|
||||
generator: Visual Studio 14 2015
|
||||
|
||||
- platform: x64
|
||||
generator: Visual Studio 14 2015 Win64
|
||||
|
||||
cache:
|
||||
- c:\Tools\vcpkg\installed
|
||||
|
||||
install:
|
||||
- vcpkg install glib:%platform%-windows
|
||||
|
||||
build_script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -G "%generator%" -Denable-pkgconfig=0 -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
||||
- cmake --build . --config Release
|
||||
|
||||
after_build:
|
||||
- 7z a fluidsynth.zip %APPVEYOR_BUILD_FOLDER%\build\src\Release\*
|
||||
|
||||
artifacts:
|
||||
- path: build/fluidsynth.zip
|
||||
name: FluidSynth
|
Loading…
Reference in a new issue