]>
Commit | Line | Data |
---|---|---|
a0787260 JT |
1 | version: '{build}'\r |
2 | \r | |
3 | branches:\r | |
4 | only:\r | |
5 | - master\r | |
6 | - /cygwin/\r | |
7 | \r | |
8 | skip_tags: true\r | |
9 | shallow_clone: true\r | |
10 | \r | |
11 | environment:\r | |
12 | APPVEYOR_SAVE_CACHE_ON_ERROR: true\r | |
13 | CACHE: C:\cache\r | |
14 | CYGWIN_MIRROR: http://cygwin.mirror.constant.com\r | |
15 | matrix:\r | |
16 | - BUILD: x86_64-pc-cygwin\r | |
17 | CYGWIN_ROOT: C:\cygwin64\r | |
18 | PKGARCH: mingw64-x86_64\r | |
19 | SETUP: setup-x86_64.exe\r | |
20 | - BUILD: i686-pc-cygwin\r | |
21 | CYGWIN_ROOT: C:\cygwin\r | |
22 | PKGARCH: mingw64-i686\r | |
23 | SETUP: setup-x86.exe\r | |
24 | \r | |
25 | cache: C:\cache\r | |
26 | \r | |
27 | install:\r | |
28 | - if not exist %CACHE% mkdir %CACHE%\r | |
29 | - appveyor DownloadFile http://cygwin.com/%SETUP% -FileName %CACHE%\%SETUP%\r | |
30 | - "%CACHE%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \\r | |
31 | gcc-core,\\r | |
32 | gcc-g++,\\r | |
33 | make,\\r | |
34 | perl,\\r | |
35 | patch,\\r | |
36 | cocom,\\r | |
37 | gettext-devel,\\r | |
38 | libiconv-devel,\\r | |
39 | zlib-devel,\\r | |
40 | %PKGARCH%-gcc-core,\\r | |
41 | %PKGARCH%-gcc-g++,\\r | |
42 | %PKGARCH%-zlib,\\r | |
43 | dblatex,\\r | |
44 | docbook2X,\\r | |
45 | docbook-xml45,\\r | |
46 | docbook-xsl,\\r | |
47 | xmlto,\\r | |
48 | python3-lxml,\\r | |
49 | python3-ply"\r | |
50 | \r | |
51 | build_script:\r | |
52 | - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; mkdir build install"'\r | |
53 | - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; ../configure --prefix=$(realpath $(pwd)/../install) -v"'\r | |
54 | - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; make"'\r | |
55 | - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; make install"'\r | |
56 | - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; cd */newlib; make info man"'\r | |
57 | - '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; cd */newlib; make install-info install-man"'\r | |
58 | \r | |
59 | test: off\r | |
60 | deploy: off\r | |
61 | \r | |
62 | # irc notification via notifico\r | |
63 | notifications:\r | |
64 | - provider: Webhook\r | |
65 | url: http://n.tkte.ch/h/4848/0nqixIBiOFzf-S_N2PY83dGB\r | |
66 | method: GET\r | |
67 | on_build_success: false\r | |
68 | on_build_failure: false\r | |
69 | on_build_status_changed: true\r |