1*4882a593Smuzhiyunbranches: 2*4882a593Smuzhiyun except: 3*4882a593Smuzhiyun - /travis.*/ 4*4882a593Smuzhiyunversion: '{build}' 5*4882a593Smuzhiyunskip_tags: true 6*4882a593Smuzhiyunclone_depth: 8 7*4882a593Smuzhiyunenvironment: 8*4882a593Smuzhiyun CYGWIN_MIRROR: http://cygwin.mirror.constant.com 9*4882a593Smuzhiyun CACHE: C:\cache 10*4882a593Smuzhiyun matrix: 11*4882a593Smuzhiyun - BUILD: i686-pc-cygwin 12*4882a593Smuzhiyun - BUILD: x86_64-pc-cygwin 13*4882a593Smuzhiyuninstall: 14*4882a593Smuzhiyun- if "%BUILD%"=="x86_64-pc-cygwin" set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64 15*4882a593Smuzhiyun- if "%BUILD%"=="i686-pc-cygwin" set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin 16*4882a593Smuzhiyun- curl -fsSL https://gist.githubusercontent.com/jon-turney/0338af595313f598bfab15a0ac0df847/raw/bd0eeca6be899e7846aa988fbcf15e4e12f5f842/zp_libtool_cleanlafiles.sh -o %CYGWIN_ROOT%\etc\postinstall\zp_libtool_cleanlafiles.sh 17*4882a593Smuzhiyun- echo Updating Cygwin and installing build prerequisites 18*4882a593Smuzhiyun- '%CYGWIN_ROOT%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%CACHE%" -g -P "meson,binutils,bison,bzip2,diffutils,fileutils,findutils,flex,gawk,gcc-core,make,patch,pkg-config,python3,sed,tar,xorgproto,windowsdriproto,libdmx-devel,libfontenc-devel,libfreetype-devel,libGL-devel,libpixman1-devel,libX11-devel,libXRes-devel,libXau-devel,libXaw-devel,libXdmcp-devel,libXext-devel,libXfont2-devel,libXi-devel,libXinerama-devel,libXmu-devel,libXpm-devel,libXrender-devel,libXtst-devel,libxcb-ewmh-devel,libxcb-icccm-devel,libxcb-image-devel,libxcb-keysyms-devel,libxcb-randr-devel,libxcb-render-devel,libxcb-render-util-devel,libxcb-shape-devel,libxcb-util-devel,libxcb-xkb-devel,libxkbfile-devel,zlib,font-util,khronos-opengl-registry,python3-lxml,xorg-util-macros,xtrans,xkbcomp,xkeyboard-config,libnettle-devel,libepoxy-devel,libtirpc-devel"' 19*4882a593Smuzhiyun- echo Install done 20*4882a593Smuzhiyuncache: 21*4882a593Smuzhiyun- C:\cache 22*4882a593Smuzhiyunbuild_script: 23*4882a593Smuzhiyun- SET PATH=%CYGWIN_ROOT%/bin 24*4882a593Smuzhiyun- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson setup --prefix=/usr -Dxv=false -Dxf86bigfont=true -Ddmx=true -Dxephyr=true -Dxnest=true -Dxvfb=true -Dxwin=true -Dxorg=true -Dhal=false -Dudev=false -Dpciaccess=false -Dint10=false build"' 25*4882a593Smuzhiyun- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson configure build"' 26*4882a593Smuzhiyun- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build"' 27*4882a593Smuzhiyuntest_script: 28*4882a593Smuzhiyun- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build test"' 29*4882a593Smuzhiyunafter_test: 30*4882a593Smuzhiyun- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build install"' 31*4882a593Smuzhiyunartifacts: 32*4882a593Smuzhiyun- path: staging 33*4882a593Smuzhiyundeploy: off 34