.appveyor.yml 981 B

123456789101112131415161718192021222324252627282930313233343536
  1. os: Visual Studio 2015
  2. environment:
  3. HOME: "%HOMEDRIVE%%HOMEPATH%"
  4. PYTHON: C:\Python27
  5. SCONS_CACHE_ROOT: "%HOME%\\scons_cache"
  6. SCONS_CACHE_LIMIT: 512
  7. matrix:
  8. - VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
  9. GD_PLATFORM: windows
  10. TOOLS: yes
  11. TARGET: release_debug
  12. ARCH: amd64
  13. init:
  14. - ps: if ($env:APPVEYOR_REPO_BRANCH -ne "master") { $env:APPVEYOR_CACHE_SKIP_SAVE = "true" }
  15. cache:
  16. - "%SCONS_CACHE_ROOT%"
  17. install:
  18. - SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
  19. - pip install -U wheel # needed for pip install scons to work, otherwise a flag is missing
  20. - pip install scons
  21. - if defined VS call "%VS%" %ARCH% # if defined - so we can also use mingw
  22. before_build:
  23. - echo %GD_PLATFORM%
  24. - python --version
  25. - scons --version
  26. - cl.exe
  27. - set "SCONS_CACHE=%SCONS_CACHE_ROOT%\%APPVEYOR_REPO_BRANCH%"
  28. build_script:
  29. - scons platform=%GD_PLATFORM% target=%TARGET% tools=%TOOLS% verbose=yes progress=no