appveyor64.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. version: '{build}'
  2. os: Visual Studio 2015
  3. configuration: Release
  4. platform: x64
  5. install:
  6. - ps: |
  7. Invoke-WebRequest http://download.supertuxproject.org/builddep/dependencies-win64.zip -OutFile "$env:APPVEYOR_BUILD_FOLDER/dependencies.zip"
  8. Add-Type -assembly "system.io.compression.filesystem"
  9. [io.compression.zipfile]::ExtractToDirectory("$env:APPVEYOR_BUILD_FOLDER/dependencies.zip", "$env:APPVEYOR_BUILD_FOLDER/")
  10. before_build:
  11. - cmd: |
  12. git submodule update --init --recursive
  13. echo Running cmake ..
  14. cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P% -DHAVE_SDL=true -DPACKAGE_VCREDIST=true
  15. build:
  16. project: ALL_BUILD.vcxproj
  17. parallel: true
  18. verbosity: minimal
  19. after_build:
  20. - cmd: '"C:\Program Files (x86)\CMake\bin\cpack.exe"'
  21. - ps: |
  22. Write-Output Get-FileHash SuperTux-*
  23. test: off
  24. artifacts:
  25. - path: SuperTux-*
  26. name: setup
  27. deploy:
  28. - provider: GitHub
  29. description: 'SuperTux release'
  30. auth_token:
  31. secure: 1sgroG7ycKHC6R2y/V7DECd/SHxXK4CNSDU7zZOnAlyBiVKT9ykvRKWt2DGcEZDq
  32. artifact: setup
  33. draft: true
  34. on:
  35. branch: master # release from master branch only
  36. appveyor_repo_tag: true # deploy on tag push only
  37. #- provider: BinTray
  38. # username: maths22
  39. # api_key:
  40. # secure: 9miH0V65c10cbWfovqIfIHWsbyrg6jZDnaYxyGYHF5pyQbPnS+LcIX6Y/8gK2pM4
  41. # subject: supertux
  42. # repo: SuperTux-Nightly
  43. # package: win64
  44. # publish: true
  45. # override: true
  46. # on:
  47. # branch: master