ext_window_rectangles/render: make the test more thorough
[piglit.git] / appveyor.yml
blob5f6faec85b523dbfb6791d5871af0437edfbff1c
1 # http://www.appveyor.com/docs/appveyor-yml
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
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.
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
21 version: '{build}'
23 branches:
24   except:
25   - /^travis.*$/
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
30 # truncated history.
32 # See also:
33 # - https://www.appveyor.com/blog/2014/06/04/shallow-clone-for-git-repositories
34 clone_depth: 100
36 cache:
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
43 environment:
44   PYTHON_HOME: C:\Python36
45   matrix:
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
53 matrix:
54   fast_finish: true
56 install:
57 # Setup Python 3
58 - set Path=%PYTHON_HOME%;%PYTHON_HOME%\Scripts;%Path%
59 - pip --version
60 # Install Six
61 - pip install six
62 # Install Mako
63 - pip install Mako==1.0.6
64 # Install Numpy
65 - pip install numpy==1.12.1
66 # Check CMake
67 - cmake --version
68 # Install Ninja
69 - cinst -y ninja
70 - ninja --version
71 # Setup MinGW
72 - if not "%MINGW_HOME%"=="" set Path=%MINGW_HOME%\bin;%Path%
73 # Install FreeGlut
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
76 # Get glext.h
77 - mkdir glext\GL
78 - appveyor DownloadFile https://www.khronos.org/registry/OpenGL/api/GL/glext.h -FileName glext\GL\glext.h
80 build_script:
81 - cmake -H. -Bbuild -G "Ninja" -DGLUT_INCLUDE_DIR=%CD%\freeglut\include -DGLUT_glut_LIBRARY=%CD%\freeglut\%FREEGLUT_LIB% -DGLEXT_INCLUDE_DIR=%CD%\glext
82 - ninja -C build
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.