-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
23 lines (23 loc) · 1.09 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '{build}'
skip_tags: true
environment:
CYGWIN_MIRROR: http://cygwin.mirror.constant.com
CACHE: C:\cache
matrix:
- BUILD: x86_64-pc-cygwin
- BUILD: i686-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
- if not exist %CACHE% mkdir %CACHE%
- appveyor DownloadFile http://cygwin.com/%SETUP% -FileName %CACHE%\%SETUP%
- echo Updating Cygwin and installing build dependencies
- '%CACHE%\%SETUP% -gqnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%CACHE%" -P "cygport,libtiff-devel,libgif-devel,libjpeg-devel,libdbus1-devel,libfontconfig-devel,libfreetype-devel,libglib2.0-devel,libgnutls-devel,libgtk3-devel,librsvg2-devel,libxml2-devel,libpng-devel,libncurses-devel,libSM-devel,libMagick-devel,X11-devel,libXft-devel,libXpm-devel,libXpm-noX-devel,libXrender-devel"'
- echo Install done
cache:
- C:\cache
build_script:
- SET PATH=%CYGWIN_ROOT%/bin
- '%CYGWIN_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./appveyor.sh"'
artifacts:
- path: artifact.tar.xz