public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: [newlib-cygwin] Cygwin: Use parallel make on AppVeyor
Date: Mon, 10 May 2021 15:59:51 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=079c3a55874fa251b42101c5929a1cfdbf374978

commit 079c3a55874fa251b42101c5929a1cfdbf374978
Author: Jon Turney <>
Date:   Sat May 1 01:33:24 2021 +0100

    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. :(

 .appveyor.yml | 22 +++++++++++++---------
 1 file 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,\
-- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; mkdir build install"'
-- '%CYGWIN_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; cd winsup; ./"'
-- '%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 "
+    mkdir build install &&
+    (cd winsup; ./ &&
+    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

                 reply	other threads:[~2021-05-10 15:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).