this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 69 lines 2.0 kB view raw
1# If this file isn't being read correctly by Appveyor, make sure the Github connection is correct/reset. 2environment: 3 P: "c:/projects/libs" 4 5branches: 6 only: 7 - master 8 9version: '{build}' 10 11image: 12- Visual Studio 2019 13 14init: 15 - git config --global core.autocrlf input 16 - echo %APPVEYOR_BUILD_WORKER_IMAGE% 17 - if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 16 2019" ) 18 - echo %generator% 19 20 21shallow_clone: true 22clone_folder: c:\projects\SDL_gpu 23 24install: 25 - mkdir c:\projects\libs 26 # Download SDL. 27 - ps: Start-FileDownload 'https://www.libsdl.org/release/SDL2-devel-2.0.12-VC.zip' 'c:/projects/libs/SDL.zip' 28 29 # Extract it, put it in the right place, and rename it. 30 - cd c:\projects\libs && 7z x SDL.zip && ren SDL2-2.0.12 SDL2 && cd c:\projects\SDL_gpu 31 32 33platform: 34 - Win32 35 - x64 36 37configuration: 38 - Debug 39 - Release 40 41before_build: 42 - cd c:\projects\SDL_gpu 43 - set /p project_version=<version.txt 44 - set zip_name=SDL_gpu-%project_version%-VS-%platform%-%configuration%.zip 45 - echo "Building %zip_name%" 46 - echo "Platform %platform%" 47 - echo "generator %generator%" 48 - echo Running cmake... 49 - mkdir build 50 - cd build 51 - if "%configuration%"=="Debug" ( set build_tests=OFF ) 52 - if "%configuration%"=="Debug" ( set build_demos=OFF ) 53 - if "%configuration%"=="Release" ( set build_tests=OFF ) 54 - if "%configuration%"=="Release" ( set build_demos=OFF ) 55 - cmd: cmake -G %generator% -A %platform% -DCMAKE_INSTALL_PREFIX=c:\projects\libs\SDL2 -DBUILD_DEMOS=%build_demos% -DBUILD_TESTS=%build_tests% -DBUILD_TOOLS=%build_demos% -DBUILD_SHARED=ON -DBUILD_STATIC=ON .. 56 57after_build: 58 - cd c:\projects\SDL_gpu\build\SDL_gpu-VS 59# - cmd: cmake -P cmake_install.cmake 60 - 7z a c:\projects\SDL_gpu\%zip_name% * -tzip 61 - cd c:\projects\SDL_gpu 62 63artifacts: 64 - path: "%zip_name%" 65 name: "%zip_name%" 66 67deploy_script: 68 - cd c:\projects\SDL_gpu 69# - curl -T SDL_gpu.zip --user %ACCOUNT% https://www.dinomage.com/SDL_gpu.zip