ci: Check for DDXen to be built
[xserver.git] / .appveyor.yml
blobc023790cfcd185f275645e4c2f0114cde7c5b0e8
1 branches:
2   except:
3     - /travis.*/
4 version: '{build}'
5 skip_tags: true
6 clone_depth: 8
7 environment:
8   APPVEYOR_SAVE_CACHE_ON_ERROR: true
9   CYGWIN_MIRROR: http://cygwin.mirror.constant.com
10   CACHE: C:\cache
11   matrix:
12   - BUILD: i686-pc-cygwin
13     CYGWIN_ROOT: C:\cygwin
14     SETUP: setup-x86.exe
15   - BUILD: x86_64-pc-cygwin
16     CYGWIN_ROOT: C:\cygwin64
17     SETUP: setup-x86_64.exe
18 install:
19 - echo Updating Cygwin and installing build prerequisites
20 - "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \
21 binutils,\
22 bison,\
23 ccache,\
24 flex,\
25 gcc-core,\
26 meson,\
27 ninja,\
28 pkg-config,\
29 python38,\
30 windowsdriproto,\
31 xorgproto,\
32 libepoxy-devel,\
33 libfontenc-devel,\
34 libfreetype-devel,\
35 libGL-devel,\
36 libnettle-devel,\
37 libpixman1-devel,\
38 libtirpc-devel,\
39 libXRes-devel,\
40 libXaw-devel,\
41 libXdmcp-devel,\
42 libXext-devel,\
43 libXfont2-devel,\
44 libXi-devel,\
45 libXinerama-devel,\
46 libXmu-devel,\
47 libXpm-devel,\
48 libXrender-devel,\
49 libXtst-devel,\
50 libxcb-composite-devel,\
51 libxcb-ewmh-devel,\
52 libxcb-icccm-devel,\
53 libxcb-image-devel,\
54 libxcb-keysyms-devel,\
55 libxcb-randr-devel,\
56 libxcb-render-devel,\
57 libxcb-render-util-devel,\
58 libxcb-shape-devel,\
59 libxcb-util-devel,\
60 libxcb-xkb-devel,\
61 libxcvt-devel,\
62 libxkbfile-devel,\
63 font-util,\
64 khronos-opengl-registry,\
65 python38-lxml,\
66 xkbcomp-devel,\
67 xkeyboard-config,\
68 xtrans"
69 - echo Install done
70 - "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g"
71 cache:
72 - C:\cache
73 - '%CYGWIN_ROOT%\home\%USERNAME%\.ccache'
74 build_script:
75 - SET PATH=%CYGWIN_ROOT%/bin
76 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson setup --prefix=/usr -Dxv=false -Dxf86bigfont=true -Dxephyr=true -Dxnest=true -Dxvfb=true -Dxwin=true -Dxorg=true -Dpciaccess=false -Dint10=false -Dglamor=false build"'
77 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson configure build"'
78 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build"'
79 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ccache -s"'
80 test_script:
81 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build test"'
82 after_test:
83 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build install"'
84 deploy: off