2020-08-24 03:33:22 +08:00
|
|
|
version: '{build}'
|
2020-10-28 00:29:45 +08:00
|
|
|
image: Visual Studio 2019
|
2020-08-24 03:33:22 +08:00
|
|
|
|
|
|
|
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++,\
|
2020-10-28 00:29:45 +08:00
|
|
|
autoconf,\
|
|
|
|
automake,\
|
2020-08-24 03:33:22 +08:00
|
|
|
make,\
|
|
|
|
perl,\
|
|
|
|
patch,\
|
|
|
|
cocom,\
|
|
|
|
gettext-devel,\
|
|
|
|
libiconv-devel,\
|
2023-02-14 21:52:39 +08:00
|
|
|
libzstd-devel,\
|
2020-08-24 03:33:22 +08:00
|
|
|
zlib-devel,\
|
|
|
|
%PKGARCH%-gcc-core,\
|
|
|
|
%PKGARCH%-gcc-g++,\
|
|
|
|
%PKGARCH%-zlib,\
|
2020-10-28 00:29:45 +08:00
|
|
|
dejagnu,\
|
2020-08-24 03:33:22 +08:00
|
|
|
dblatex,\
|
|
|
|
docbook2X,\
|
|
|
|
docbook-xml45,\
|
|
|
|
docbook-xsl,\
|
2020-10-28 00:29:45 +08:00
|
|
|
texlive-collection-latexrecommended,\
|
|
|
|
texlive-collection-fontsrecommended,\
|
|
|
|
texlive-collection-pictures,\
|
2020-08-24 03:33:22 +08:00
|
|
|
xmlto,\
|
2021-12-30 08:33:28 +08:00
|
|
|
python39-lxml,\
|
|
|
|
python39-ply"
|
2020-08-24 03:33:22 +08:00
|
|
|
|
2021-05-01 08:33:24 +08:00
|
|
|
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) &&
|
2021-11-17 00:48:10 +08:00
|
|
|
(cd */newlib; make install-info install-man)"
|
2020-08-24 03:33:22 +08:00
|
|
|
|
|
|
|
test: off
|
|
|
|
deploy: off
|