Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # http://www.appveyor.com/docs/appveyor-yml
  2. #
  3. # To setup AppVeyor for your own personal repositories do the following:
  4. # - Sign up
  5. # - Add a new project
  6. # - Select Git and fill in the Git clone URL
  7. # - Setup a Git hook as explained in
  8. # https://github.com/appveyor/webhooks#installing-git-hook
  9. # - Check 'Settings > General > Skip branches without appveyor.yml'
  10. # - Check 'Settings > General > Rolling builds'
  11. # - Setup the global or project notifications to your liking
  12. #
  13. # Note that kicking (or restarting) a build via the web UI will not work, as it
  14. # will fail to find appveyor.yml . The Git hook is the most practical way to
  15. # kick a build.
  16. #
  17. # See also:
  18. # - http://help.appveyor.com/discussions/problems/2209-node-grunt-build-specify-a-project-or-solution-file-the-directory-does-not-contain-a-project-or-solution-file
  19. # - http://help.appveyor.com/discussions/questions/1184-build-config-vs-appveyoryaml
  20. version: '{build}'
  21. branches:
  22. except:
  23. - /^travis.*$/
  24. # Don't download the full Mesa history to speed up cloning. However the clone
  25. # depth must not be too small, otherwise builds might fail when lots of patches
  26. # are committed in succession, because the desired commit is not found on the
  27. # truncated history.
  28. #
  29. # See also:
  30. # - https://www.appveyor.com/blog/2014/06/04/shallow-clone-for-git-repositories
  31. clone_depth: 100
  32. cache:
  33. - win_flex_bison-2.4.5.zip
  34. - llvm-3.3.1-msvc2013-mtd.7z
  35. environment:
  36. WINFLEXBISON_ARCHIVE: win_flex_bison-2.4.5.zip
  37. LLVM_ARCHIVE: llvm-3.3.1-msvc2013-mtd.7z
  38. install:
  39. # Check pip
  40. - python --version
  41. - python -m pip --version
  42. # Install Mako
  43. - python -m pip install --egg Mako
  44. # Install SCons
  45. - python -m pip install --egg scons==2.4.1
  46. - scons --version
  47. # Install flex/bison
  48. - if not exist "%WINFLEXBISON_ARCHIVE%" appveyor DownloadFile "http://downloads.sourceforge.net/project/winflexbison/%WINFLEXBISON_ARCHIVE%"
  49. - 7z x -y -owinflexbison\ "%WINFLEXBISON_ARCHIVE%" > nul
  50. - set Path=%CD%\winflexbison;%Path%
  51. - win_flex --version
  52. - win_bison --version
  53. # Download and extract LLVM
  54. - if not exist "%LLVM_ARCHIVE%" appveyor DownloadFile "https://people.freedesktop.org/~jrfonseca/llvm/%LLVM_ARCHIVE%"
  55. - 7z x -y "%LLVM_ARCHIVE%" > nul
  56. - mkdir llvm\bin
  57. - set LLVM=%CD%\llvm
  58. build_script:
  59. - scons -j%NUMBER_OF_PROCESSORS% MSVC_VERSION=12.0 llvm=1
  60. # It's possible to setup notification here, as described in
  61. # http://www.appveyor.com/docs/notifications#appveyor-yml-configuration , but
  62. # doing so would cause the notification settings to be replicated across all
  63. # repos, which is most likely undesired. So it's better to rely on the
  64. # Appveyor global/project notification settings.