1 # http://www.appveyor.com/docs/appveyor-yml
3 # To setup AppVeyor for your own personal repositories do the following:
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
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
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
27 # Don't download the full Mesa history to speed up cloning. However the clone
28 # depth must not be too small, otherwise builds might fail when lots of patches
29 # are committed in succession, because the desired commit is not found on the
33 # - https://www.appveyor.com/blog/2014/06/04/shallow-clone-for-git-repositories
37 - freeglut-MinGW-3.0.0-1.mp.zip
38 - freeglut-MinGW-3.0.0-2.mp.zip
40 # https://www.appveyor.com/docs/build-environment/#build-worker-images
41 os: Visual Studio 2015
44 PYTHON_HOME: C:\Python36
46 - MINGW_HOME: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32
47 FREEGLUT_ARCHIVE: freeglut-MinGW-3.0.0-1.mp.zip
48 FREEGLUT_LIB: lib\libfreeglut.a
49 - MINGW_HOME: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64
50 FREEGLUT_ARCHIVE: freeglut-MinGW-3.0.0-1.mp.zip
51 FREEGLUT_LIB: lib\x64\libfreeglut.a
58 - set Path=%PYTHON_HOME%;%PYTHON_HOME%\Scripts;%Path%
63 - pip install Mako==1.0.6
65 - pip install numpy==1.12.1
72 - if not "%MINGW_HOME%"=="" set Path=%MINGW_HOME%\bin;%Path%
74 - if not exist "%FREEGLUT_ARCHIVE%" appveyor DownloadFile "http://files.transmissionzero.co.uk/software/development/GLUT/%FREEGLUT_ARCHIVE%"
75 - 7z x -y "%FREEGLUT_ARCHIVE%" > nul
78 - appveyor DownloadFile https://www.khronos.org/registry/OpenGL/api/GL/glext.h -FileName glext\GL\glext.h
81 - cmake -H. -Bbuild -G "Ninja" -DGLUT_INCLUDE_DIR=%CD%\freeglut\include -DGLUT_glut_LIBRARY=%CD%\freeglut\%FREEGLUT_LIB% -DGLEXT_INCLUDE_DIR=%CD%\glext
85 # It's possible to setup notification here, as described in
86 # http://www.appveyor.com/docs/notifications#appveyor-yml-configuration , but
87 # doing so would cause the notification settings to be replicated across all
88 # repos, which is most likely undesired. So it's better to rely on the
89 # Appveyor global/project notification settings.