.appveyor.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. version: 2.0.{build}
  2. environment:
  3. matrix:
  4. - solution_name: win32/sdlpal.sln
  5. SDL_W32:
  6. SDL_SRC: rem
  7. - solution_name: winrt/SDLPal.UWP.sln
  8. SDL_W32: rem
  9. SDL_SRC:
  10. build_script:
  11. - msbuild %solution_name% /p:Configuration=Release /m
  12. before_build:
  13. # SDL include/lib setup; for win32
  14. - |-
  15. %SDL_W32% appveyor DownloadFile http://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip
  16. %SDL_W32% 7z x SDL2-devel-2.0.5-VC.zip
  17. %SDL_W32% move /y SDL2-2.0.5\include SDL2\ > nul
  18. %SDL_W32% move /y SDL2-2.0.5\lib SDL2\ > nul
  19. %SDL_W32% rd /s /q SDL2-2.0.5 > nul
  20. # SDL src setup; for UWP
  21. - |-
  22. %SDL_SRC% appveyor DownloadFile http://www.libsdl.org/release/SDL2-2.0.5.zip
  23. %SDL_SRC% 7z x SDL2-2.0.5.zip
  24. %SDL_SRC% rd /s /q SDL2 > nul
  25. %SDL_SRC% move /y SDL2-2.0.5 SDL2 > nul
  26. deploy:
  27. - provider: GitHub
  28. on:
  29. appveyor_repo_tag: true
  30. auth_token:
  31. secure: RYDRqm5LncsJG32FRSlCkLzkJC4ykCtlgO3+xW4q80wQOA3U9pHAe2beyMEduJIe
  32. artifacts:
  33. - path: win32/Release/sdlpal.exe
  34. name: win32 build
  35. - path: winrt/AppPackages/SDLPal
  36. name: SDLPal UWP
  37. type: zip