appveyor.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. version: '{build}'
  2. os: Visual Studio 2015
  3. configuration: Release
  4. platform: x86
  5. install:
  6. - ps: |
  7. Invoke-WebRequest http://download.supertuxproject.org/builddep/dependencies-win32.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. move "$env:APPVEYOR_BUILD_FOLDER/dependencies" "$env:APPVEYOR_BUILD_FOLDER/dependencies32"
  11. before_build:
  12. - cmd: |
  13. git submodule update --init --recursive
  14. echo Running cmake ..
  15. cmake -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX=%P% -DHAVE_SDL=true -DPACKAGE_VCREDIST=true
  16. build:
  17. project: ALL_BUILD.vcxproj
  18. parallel: true
  19. verbosity: minimal
  20. after_build:
  21. - cmd: '"C:\Program Files (x86)\CMake\bin\cpack.exe"'
  22. test: off
  23. artifacts:
  24. - path: SuperTux-*
  25. name: setup
  26. deploy:
  27. - provider: FTP
  28. host: brlcad.org
  29. protocol: sftp
  30. username: travis-upload
  31. password:
  32. secure: a/wZj2elh/Hhy/MQV/QS5A==
  33. folder: /files/
  34. artifact: setup
  35. on:
  36. branch: master
  37. - provider: GitHub
  38. description: 'SuperTux release'
  39. auth_token:
  40. secure: 1sgroG7ycKHC6R2y/V7DECd/SHxXK4CNSDU7zZOnAlyBiVKT9ykvRKWt2DGcEZDq
  41. artifact: setup
  42. draft: true
  43. on:
  44. branch: master # release from master branch only
  45. appveyor_repo_tag: true # deploy on tag push only