1234567891011121314151617181920212223242526272829303132 |
- clone_depth: 1
- version: "{build}"
- image: Visual Studio 2017
- platform:
- - x86
- - x64
- environment:
- matrix:
- - compiler: msvc
- install:
- - cd C:\Tools\vcpkg
- - git pull
- - .\bootstrap-vcpkg.bat
- - cd %APPVEYOR_BUILD_FOLDER%
- - vcpkg install --triplet %PLATFORM%-windows --recurse fftw3 libsamplerate libsndfile lilv lv2 sdl2
- - nuget install clcache -Version 4.1.0
- build_script:
- - cd %APPVEYOR_BUILD_FOLDER%
- - mkdir build
- - cd build
- - ps: $env:CMAKE_PLATFORM="$(if ($env:PLATFORM -eq 'x64') { 'x64' } else { '' })"
- - ps: $env:QT_SUFFIX="$(if ($env:PLATFORM -eq 'x64') { '_64' } else { '' })"
- - cmake -DUSE_COMPILE_CACHE=ON -DCACHE_TOOL=%APPVEYOR_BUILD_FOLDER%/clcache.4.1.0/clcache-4.1.0/clcache.exe -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=c:/Qt/5.12/msvc2017%QT_SUFFIX%;c:/tools/vcpkg/installed/%PLATFORM%-windows -DCMAKE_GENERATOR_PLATFORM="%CMAKE_PLATFORM%" ..
- - cmake --build . -- /maxcpucount:4
- - cmake --build . --target tests
- - cmake --build . --target package
- artifacts:
- - path: 'build\lmms-*.exe'
- name: Installer
- cache:
- - c:/tools/vcpkg/installed
|