2018-03-14 21:43:09 +01:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /travis.*/
|
2017-09-15 15:36:52 +02:00
|
|
|
version: '{build}'
|
|
|
|
skip_tags: true
|
2018-03-14 20:29:15 +01:00
|
|
|
clone_depth: 8
|
2017-09-15 15:36:52 +02:00
|
|
|
environment:
|
2017-09-17 15:55:04 +02:00
|
|
|
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
2017-09-15 15:36:52 +02:00
|
|
|
CYGWIN_MIRROR: http://cygwin.mirror.constant.com
|
|
|
|
CACHE: C:\cache
|
|
|
|
matrix:
|
|
|
|
- BUILD: i686-pc-cygwin
|
2017-09-17 15:55:04 +02:00
|
|
|
CYGWIN_ROOT: C:\cygwin
|
|
|
|
SETUP: setup-x86.exe
|
2017-09-15 15:36:52 +02:00
|
|
|
- BUILD: x86_64-pc-cygwin
|
2017-09-17 15:55:04 +02:00
|
|
|
CYGWIN_ROOT: C:\cygwin64
|
|
|
|
SETUP: setup-x86_64.exe
|
2017-09-15 15:36:52 +02:00
|
|
|
install:
|
|
|
|
- echo Updating Cygwin and installing build prerequisites
|
2018-08-08 18:29:55 +02:00
|
|
|
- "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \
|
|
|
|
binutils,\
|
|
|
|
bison,\
|
2017-09-17 15:55:04 +02:00
|
|
|
ccache,\
|
2018-08-08 18:29:55 +02:00
|
|
|
flex,\
|
|
|
|
gcc-core,\
|
2019-04-18 13:07:34 +02:00
|
|
|
meson,\
|
|
|
|
ninja,\
|
2018-08-08 18:29:55 +02:00
|
|
|
pkg-config,\
|
|
|
|
python3,\
|
|
|
|
windowsdriproto,\
|
2019-04-18 13:07:34 +02:00
|
|
|
xorgproto,\
|
2018-08-08 18:29:55 +02:00
|
|
|
libdmx-devel,\
|
2019-04-18 13:07:34 +02:00
|
|
|
libepoxy-devel,\
|
2018-08-08 18:29:55 +02:00
|
|
|
libfontenc-devel,\
|
|
|
|
libfreetype-devel,\
|
|
|
|
libGL-devel,\
|
2019-04-18 13:07:34 +02:00
|
|
|
libnettle-devel,\
|
2018-08-08 18:29:55 +02:00
|
|
|
libpixman1-devel,\
|
2019-04-18 13:07:34 +02:00
|
|
|
libtirpc-devel,\
|
2018-08-08 18:29:55 +02:00
|
|
|
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,\
|
2015-08-03 17:47:38 +02:00
|
|
|
libxcb-composite-devel,\
|
2018-08-08 18:29:55 +02:00
|
|
|
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,\
|
|
|
|
font-util,\
|
|
|
|
khronos-opengl-registry,\
|
|
|
|
python3-lxml,\
|
2019-04-18 13:07:34 +02:00
|
|
|
xkbcomp-devel,\
|
2018-08-08 18:29:55 +02:00
|
|
|
xkeyboard-config,\
|
2019-04-18 13:07:34 +02:00
|
|
|
xtrans"
|
2017-09-15 15:36:52 +02:00
|
|
|
- echo Install done
|
2019-07-06 18:58:12 +02:00
|
|
|
- "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g"
|
2017-09-15 15:36:52 +02:00
|
|
|
cache:
|
|
|
|
- C:\cache
|
2017-09-17 15:55:04 +02:00
|
|
|
- '%CYGWIN_ROOT%\home\%USERNAME%\.ccache'
|
2017-09-15 15:36:52 +02:00
|
|
|
build_script:
|
|
|
|
- SET PATH=%CYGWIN_ROOT%/bin
|
2019-07-21 15:43:24 +02:00
|
|
|
- '%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=false -Dhal=false -Dudev=false -Dpciaccess=false -Dint10=false build"'
|
2018-03-14 20:29:15 +01:00
|
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson configure build"'
|
|
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build"'
|
2017-09-17 15:55:04 +02:00
|
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ccache -s"'
|
2017-09-15 15:36:52 +02:00
|
|
|
test_script:
|
2018-03-14 20:29:15 +01:00
|
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build test"'
|
2017-09-15 15:36:52 +02:00
|
|
|
after_test:
|
2018-03-14 20:29:15 +01:00
|
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build install"'
|
2017-09-15 15:36:52 +02:00
|
|
|
deploy: off
|