appveyor.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # it seems that Qt is only installed by default on unstable os at the moment
  2. os: unstable
  3. # shallow clone
  4. clone_depth: 1
  5. environment:
  6. QTDIR: C:\Qt\5.4\msvc2013_opengl
  7. MEGA_PASSWORD:
  8. secure: ozgp54EZj98kcbD/O+Xl5Q==
  9. install:
  10. - git submodule update --init --recursive
  11. before_build:
  12. - mkdir build
  13. - cd build
  14. - cmake ..
  15. - cd ..
  16. after_build:
  17. # upload the build to Mega
  18. - cinst wget -x86
  19. - wget -q http://megatools.megous.com/builds/megatools-1.9.94-win64.zip
  20. # extract megatools silently. See http://stackoverflow.com/a/11629736/1748450
  21. - 7z x megatools-1.9.94-win64.zip | FIND /V "ing "
  22. # copy the qt dlls
  23. - copy C:\Qt\5.4\msvc2013_opengl\bin\icudt53.dll build\bin\debug
  24. - copy C:\Qt\5.4\msvc2013_opengl\bin\icuin53.dll build\bin\debug
  25. - copy C:\Qt\5.4\msvc2013_opengl\bin\icuuc53.dll build\bin\debug
  26. - copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5Cored.dll build\bin\debug
  27. - copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5Guid.dll build\bin\debug
  28. - copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5OpenGLd.dll build\bin\debug
  29. - copy C:\Qt\5.4\msvc2013_opengl\bin\Qt5Widgetsd.dll build\bin\debug
  30. # delete build craps
  31. - del /F /S /Q /A "build\bin\debug\*.ilk"
  32. - del /F /S /Q /A "build\bin\debug\*.pdb"
  33. # zip up the build folder -> build.7z
  34. - 7z a build .\build\bin\debug\*
  35. # rename, upload to Mega
  36. - cd megatools-1.9.94-win64
  37. - node ..\upload_to_mega.js