appveyor.yml 1005 B

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