.appveyor.yml 2.19 KB
Newer Older
1 2 3
branches:
  except:
    - /travis.*/
4 5
version: '{build}'
skip_tags: true
Adam Jackson's avatar
Adam Jackson committed
6
clone_depth: 8
7
environment:
Jon Turney's avatar
Jon Turney committed
8
  APPVEYOR_SAVE_CACHE_ON_ERROR: true
9 10 11 12
  CYGWIN_MIRROR: http://cygwin.mirror.constant.com
  CACHE: C:\cache
  matrix:
  - BUILD: i686-pc-cygwin
Jon Turney's avatar
Jon Turney committed
13 14
    CYGWIN_ROOT: C:\cygwin
    SETUP: setup-x86.exe
15
  - BUILD: x86_64-pc-cygwin
Jon Turney's avatar
Jon Turney committed
16 17
    CYGWIN_ROOT: C:\cygwin64
    SETUP: setup-x86_64.exe
18 19
install:
- echo Updating Cygwin and installing build prerequisites
20 21 22
- "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \
binutils,\
bison,\
Jon Turney's avatar
Jon Turney committed
23
ccache,\
24 25
flex,\
gcc-core,\
26 27
meson,\
ninja,\
28 29 30
pkg-config,\
python3,\
windowsdriproto,\
31
xorgproto,\
32
libdmx-devel,\
33
libepoxy-devel,\
34 35 36
libfontenc-devel,\
libfreetype-devel,\
libGL-devel,\
37
libnettle-devel,\
38
libpixman1-devel,\
39
libtirpc-devel,\
40 41 42 43 44 45 46 47 48 49 50 51 52
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,\
53
libxcb-composite-devel,\
54 55 56 57 58 59 60 61 62 63 64 65 66 67
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,\
68
xkbcomp-devel,\
69
xkeyboard-config,\
70
xtrans"
71
- echo Install done
72
- "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g"
73 74
cache:
- C:\cache
Jon Turney's avatar
Jon Turney committed
75
- '%CYGWIN_ROOT%\home\%USERNAME%\.ccache'
76 77
build_script:
- SET PATH=%CYGWIN_ROOT%/bin
78
- '%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"'
Adam Jackson's avatar
Adam Jackson committed
79 80
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson configure build"'
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build"'
Jon Turney's avatar
Jon Turney committed
81
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ccache -s"'
82
test_script:
Adam Jackson's avatar
Adam Jackson committed
83
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build test"'
84
after_test:
Adam Jackson's avatar
Adam Jackson committed
85
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build install"'
86
deploy: off