appveyor64.yml 1.5 KB

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