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