.appveyor.yml 921 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. version: '{build}'
  2. os: Visual Studio 2019
  3. configuration:
  4. - Release
  5. - Debug
  6. platform:
  7. - x64
  8. - x86
  9. branches:
  10. except:
  11. - coverity_scan
  12. cache: c:\tools\vcpkg\installed -> .appveyor.yml
  13. install:
  14. - cd C:\Tools\vcpkg
  15. - git fetch
  16. - git checkout 2020.07
  17. - .\bootstrap-vcpkg.bat
  18. - cd %APPVEYOR_BUILD_FOLDER%
  19. before_build:
  20. - set VCPKG_DEFAULT_TRIPLET=%PLATFORM%-windows
  21. - vcpkg install libiconv
  22. - git submodule update --init --recursive
  23. - if [%PLATFORM%]==[x86] (
  24. cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_INSTALL_PREFIX="%P%" -DBUILD_TESTS=ON
  25. ) else (
  26. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_INSTALL_PREFIX="%P%" -DBUILD_TESTS=ON
  27. )
  28. build:
  29. project: ALL_BUILD.vcxproj
  30. parallel: true
  31. verbosity: normal
  32. # EOF #