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