Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-05-01 03:33:24 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2021-05-10 18:57:41 +0300
commit079c3a55874fa251b42101c5929a1cfdbf374978 (patch)
tree006625e9ec73687aa8600fac3619989cf89e653c /.appveyor.yml
parent71e8b4500722aea251bf7ca8473186c72c56ca89 (diff)
Cygwin: Use parallel make on AppVeyor
We're bumping up against the 1hr free job duration limit on AppVeyor, so use 'make -j$(nproc)' to allow things to build slightly faster. Restructure the way build_script: is written in YAML, so it's slightly less repetitive and easier to add that. Also skip 'make check' on x86, since it currently just hangs. :(
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 66ac35701..698366702 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -55,15 +55,19 @@ xmlto,\
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"'
+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