mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
Drop installing packages which were used by the autotools build (or maybe even monolithic build!) but are no longer required by the meson build Also, alphabetically sort within tools, protocol headers, devel libraries, miscellaneous groups to match [1] [1] https://x.cygwin.com/docs/cg/prog-build-prerequisites.html Also, update to require xkbcomp-devel, split from xkbcomp
81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
branches:
|
|
except:
|
|
- /travis.*/
|
|
version: '{build}'
|
|
skip_tags: true
|
|
clone_depth: 8
|
|
environment:
|
|
CYGWIN_MIRROR: http://cygwin.mirror.constant.com
|
|
CACHE: C:\cache
|
|
matrix:
|
|
- BUILD: i686-pc-cygwin
|
|
- BUILD: x86_64-pc-cygwin
|
|
install:
|
|
- if "%BUILD%"=="x86_64-pc-cygwin" set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64
|
|
- if "%BUILD%"=="i686-pc-cygwin" set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin
|
|
- curl -fsSL https://gist.githubusercontent.com/jon-turney/0338af595313f598bfab15a0ac0df847/raw/bd0eeca6be899e7846aa988fbcf15e4e12f5f842/zp_libtool_cleanlafiles.sh -o %CYGWIN_ROOT%\etc\postinstall\zp_libtool_cleanlafiles.sh
|
|
- echo Updating Cygwin and installing build prerequisites
|
|
- "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \
|
|
binutils,\
|
|
bison,\
|
|
flex,\
|
|
gcc-core,\
|
|
meson,\
|
|
ninja,\
|
|
pkg-config,\
|
|
python3,\
|
|
windowsdriproto,\
|
|
xorgproto,\
|
|
libdmx-devel,\
|
|
libepoxy-devel,\
|
|
libfontenc-devel,\
|
|
libfreetype-devel,\
|
|
libGL-devel,\
|
|
libnettle-devel,\
|
|
libpixman1-devel,\
|
|
libtirpc-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,\
|
|
font-util,\
|
|
khronos-opengl-registry,\
|
|
python3-lxml,\
|
|
xkbcomp-devel,\
|
|
xkeyboard-config,\
|
|
xtrans"
|
|
- echo Install done
|
|
cache:
|
|
- C:\cache
|
|
build_script:
|
|
- SET PATH=%CYGWIN_ROOT%/bin
|
|
- '%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"'
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson configure build"'
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build"'
|
|
test_script:
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build test"'
|
|
after_test:
|
|
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C build install"'
|
|
artifacts:
|
|
- path: staging
|
|
deploy: off
|