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