appveyor.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. image:
  2. - Visual Studio 2019
  3. clone_folder: c:\projects\source
  4. environment:
  5. Qt5_INSTALL_DIR: 'C:\Qt\5.15.2\msvc2019_64'
  6. PATH: '%Qt5_INSTALL_DIR%\bin;%PATH%'
  7. build_script:
  8. - cmd: >-
  9. mkdir build
  10. cd build
  11. set QTDIR=%Qt5_INSTALL_DIR%
  12. set "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"
  13. set "OPENSSL_ROOT_DIR=C:/OpenSSL-v111-Win64"
  14. cmake c:\projects\source -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_OPENSSL=ON -DRUN_IN_PLACE=OFF
  15. cmake --build . --parallel 2 --config "Release"
  16. cpack -G WIX -B package
  17. mkdir artifact
  18. cp package/*.msi artifact/.
  19. cp src/Release/*.exe artifact/.
  20. 7z a -tzip artifact.zip artifact/
  21. artifacts:
  22. - path: build\package\*.msi
  23. name: installer
  24. - path: build\src\Release\*.exe
  25. name: executable
  26. - path: build\artifact.zip
  27. name: archive
  28. deploy:
  29. - provider: Webhook
  30. url: https://app.signpath.io/API/v1/042f605f-b378-45d8-ad16-b7695b071036/Integrations/AppVeyor?ProjectSlug=flameshot&SigningPolicySlug=release-signing
  31. authorization:
  32. secure: G5nNnkfRSJ+EEx+7LlUSSoEyoL+pHYItvjrNxbWITE7RB+cm9qzuHRdwmrZdEDjdVCLZ2TkNawynMxYcGMZAQA==