.appveyor.yml (2185B)
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 python3,\ 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 libxkbfile-devel,\ 62 font-util,\ 63 khronos-opengl-registry,\ 64 python3-lxml,\ 65 xkbcomp-devel,\ 66 xkeyboard-config,\ 67 xtrans" 68 - echo Install done 69 - "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g" 70 cache: 71 - C:\cache 72 - '%CYGWIN_ROOT%\home\%USERNAME%\.ccache' 73 build_script: 74 - SET PATH=%CYGWIN_ROOT%/bin 75 - '%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 -Dhal=false -Dudev=false -Dpciaccess=false -Dint10=false build"' 76 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson configure build"' 77 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build"' 78 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ccache -s"' 79 test_script: 80 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build test"' 81 after_test: 82 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build install"' 83 deploy: off