diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-10-27 19:29:45 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2021-04-30 16:22:07 +0300 |
commit | 2d3416440213e1208ed665558e5eda765cb5f061 (patch) | |
tree | eafca33a9219d7ac3e56f5d2c41c2f133429d50a /.appveyor.yml | |
parent | 548a4c3ca43543e66ec91df799379bc67a92804a (diff) |
Cygwin: CI configuration update
Install autoconf and automake, and run winsup/autogen.sh, and don't have
it silently ignore failures.
On AppVeyor:
- use latest VM image, to reduce time spent installing updates.
- run the testsuite, but ignore the result, as some tests don't work
correctly.
- hardcode the python-lxml and python-ply packages to install, so we get
ones for the right python.
- install texlive collections now needed to build documentation.
On github:
- Use a copr for cocom, since RPMSphere's package updates don't track
fedora:latest very efficently.
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 602c189cd..66ac35701 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,5 @@ version: '{build}'
+image: Visual Studio 2019
branches:
only:
@@ -30,6 +31,8 @@ install: - "%CACHE%\\%SETUP% -qnNdO -R %CYGWIN_ROOT% -s %CYGWIN_MIRROR% -l %CACHE% -g -P \
gcc-core,\
gcc-g++,\
+autoconf,\
+automake,\
make,\
perl,\
patch,\
@@ -40,21 +43,27 @@ 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,\
-python3-lxml,\
-python3-ply"
+python38-lxml,\
+python38-ply"
build_script:
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; mkdir build install"'
+- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; cd winsup; ./autogen.sh"'
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; ../configure --prefix=$(realpath $(pwd)/../install) -v"'
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; make"'
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; make install"'
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; cd */newlib; make info man"'
- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; cd */newlib; make install-info install-man"'
+- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; cd */winsup; make check || true"'
test: off
deploy: off
|