]> cygwin.com Git - cygwin-apps/setup.git/blob - .appveyor.yml
Also run stratum 'z' perpetual preremove scripts
[cygwin-apps/setup.git] / .appveyor.yml
1 version: '{build}'
2 environment:
3 CYGWIN_ROOT: C:\cygwin64
4 CYGWIN_MIRROR: http://cygwin.mirror.constant.com
5 CYGWIN_CACHE: C:\cache
6 matrix:
7 - HOST: i686-w64-mingw32
8 - HOST: x86_64-w64-mingw32
9 install:
10 - if "%HOST%"=="i686-w64-mingw32" set PKGARCH="mingw64-i686"
11 - if "%HOST%"=="x86_64-w64-mingw32" set PKGARCH="mingw64-x86_64"
12 - if NOT DEFINED PKGARCH exit 1
13 - set SETUP=setup-x86_64.exe
14 - appveyor DownloadFile http://cygwin.com/%SETUP% -FileName %CYGWIN_ROOT%\%SETUP%
15 - echo Updating Cygwin and installing build prerequisites
16 - "%CYGWIN_ROOT%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CYGWIN_CACHE% -g -P \
17 autoconf,\
18 automake,\
19 bison,\
20 flex,\
21 libtool,\
22 make,\
23 %PKGARCH%-bzip2,\
24 %PKGARCH%-gcc-g++,\
25 %PKGARCH%-headers,\
26 %PKGARCH%-libgcrypt,\
27 %PKGARCH%-libsolv,\
28 %PKGARCH%-xz,\
29 %PKGARCH%-zlib,\
30 %PKGARCH%-zstd,\
31 pkg-config,\
32 upx"
33 build_script:
34 - echo Bootstrap ...
35 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./bootstrap.sh --host=%HOST%"'
36 - echo Make ...
37 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; make"'
38 - echo Tests ...
39 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; export PATH=/usr/${HOST}/sys-root/mingw/bin/:${PATH} ; make check"'
40 - echo Strip/UPX ...
41 - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; make strip upx"'
42 cache: C:\cache
43 test: off
44 deploy: off
45 artifacts:
46 - path: setup.exe
This page took 0.038062 seconds and 5 git commands to generate.