1version: "{build}"
2
3branches:
4    only:
5        - master
6        - /wildmidi-.*$/
7        - appveyor
8
9platform:
10    - Win32
11    - x64
12
13configuration: Debug
14
15matrix:
16    fast_finish: true
17
18# For the Qt, Boost, CMake, etc installs
19os: unstable
20
21# We want the git revision for versioning,
22# so shallow clones don't work.
23clone_depth: 1
24
25#cache:
26#    - C:\projects\wildmidi\deps\ffmpeg32-2.5.2.7z
27#    - C:\projects\wildmidi\deps\ffmpeg32-2.5.2-dev.7z
28#    - C:\projects\wildmidi\deps\ffmpeg64-2.5.2.7z
29#    - C:\projects\wildmidi\deps\ffmpeg64-2.5.2-dev.7z
30
31clone_folder: C:\projects\wildmidi
32
33before_build:
34    - cmd: sh %APPVEYOR_BUILD_FOLDER%\CI\before_script.msvc.sh -u -p %PLATFORM%
35
36build_script:
37    - cmd: if %PLATFORM%==Win32 set build=Build_32
38    - cmd: if %PLATFORM%==x64 set build=Build_64
39    - cmd: msbuild %build%\WildMIDI.sln /t:Build /p:Configuration=%configuration% /m:2 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
40
41after_build:
42    - cmd: if %PLATFORM%==Win32 7z a WildMIDI_x32.zip %APPVEYOR_BUILD_FOLDER%\Build_32\Debug\wildmidi*
43    - cmd: if %PLATFORM%==x64 7z a WildMIDI_x64.zip %APPVEYOR_BUILD_FOLDER%\Build_64\Debug\wildmidi*
44
45test: off
46
47#notifications:
48#    - provider: Email
49#    to:
50#        -
51#    on_build_failure: true
52#    on_build_status_changed: true
53
54artifacts:
55  - path: WildMIDI_x32.zip
56    name: WildMIDI_x32
57  - path: WildMIDI_x64.zip
58    name: WildMIDI_x64
59