mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-03 21:45:51 +08:00
Update the python version for python-lxml and python-ply packages. 'dblate' now depends on python39, so that will be installed and made the default by alternatives, so make sure that these python packages are also available for that python version. (cherry picked from commit 54b6c0e81f05ab2f047df64716f3fa2da3e7e2b1)
83 lines
1.8 KiB
YAML
83 lines
1.8 KiB
YAML
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
|
|
- BUILD: i686-pc-cygwin
|
|
CYGWIN_ROOT: C:\cygwin
|
|
PKGARCH: mingw64-i686
|
|
SETUP: setup-x86.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,\
|
|
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) &&
|
|
(cd */winsup; test "${BUILD}" != 'x86_64-pc-cygwin' || make check || true)"
|
|
|
|
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
|