Cygwin: console: Fix open() failure when the console owner calls exec().
[newlib-cygwin.git] / .appveyor.yml
blob527c96a92d44bc1ed83b779d821dd05dfc9d7448
1 version: '{build}'\r
2 image: Visual Studio 2019\r
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
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
22 cache: C:\cache\r
24 install:\r
25 - if not exist %CACHE% mkdir %CACHE%\r
26 - appveyor DownloadFile http://cygwin.com/%SETUP% -FileName %CACHE%\%SETUP%\r
27 - "%CACHE%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \\r
28 gcc-core,\\r
29 gcc-g++,\\r
30 autoconf,\\r
31 automake,\\r
32 make,\\r
33 perl,\\r
34 patch,\\r
35 cocom,\\r
36 gettext-devel,\\r
37 libiconv-devel,\\r
38 libzstd-devel,\\r
39 zlib-devel,\\r
40 %PKGARCH%-gcc-core,\\r
41 %PKGARCH%-gcc-g++,\\r
42 %PKGARCH%-zlib,\\r
43 dejagnu,\\r
44 dblatex,\\r
45 docbook2X,\\r
46 docbook-xml45,\\r
47 docbook-xsl,\\r
48 texlive-collection-latexrecommended,\\r
49 texlive-collection-fontsrecommended,\\r
50 texlive-collection-pictures,\\r
51 xmlto,\\r
52 python39-lxml,\\r
53 python39-ply"\r
55 build_script: >-\r
56     %CYGWIN_ROOT%/bin/bash -lc "\r
57     cd $APPVEYOR_BUILD_FOLDER &&\r
58     mkdir build install &&\r
59     (cd winsup; ./autogen.sh) &&\r
60     cd build &&\r
61     ../configure --prefix=$(realpath $(pwd)/../install) -v &&\r
62     export MAKEFLAGS=-j$(nproc) &&\r
63     make &&\r
64     make install &&\r
65     (cd */newlib; make info man) &&\r
66     (cd */newlib; make install-info install-man)"\r
68 test: off\r
69 deploy: off\r