[commit: packages/process] master: Fix AppVeyor build by using their msys2 autoreconf (35d8b11)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:19:41 UTC 2017


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/35d8b11b6cb5884a9917ffe8639dde1450d2d778/process

>---------------------------------------------------------------

commit 35d8b11b6cb5884a9917ffe8639dde1450d2d778
Author: Michael Snoyman <michael at snoyman.com>
Date:   Mon Mar 27 16:25:56 2017 +0300

    Fix AppVeyor build by using their msys2 autoreconf


>---------------------------------------------------------------

35d8b11b6cb5884a9917ffe8639dde1450d2d778
 appveyor.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 9fbcd3e..e9f71fe 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -10,14 +10,20 @@ before_test:
 - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
 - 7z x stack.zip stack.exe
 
-clone_folder: "c:\\stack"
+clone_folder: "c:\\process"
 environment:
   global:
     STACK_ROOT: "c:\\sr"
 
 test_script:
+
+# Generate the configure script. This took way too long to figure out
+# correctly.
+- c:\msys64\usr\bin\bash -lc "cd /c/process && autoreconf -i"
+
+# Install toolchain, but do it silently due to lots of output
 - stack setup > nul
+
 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
 # descriptor
-- echo y | stack exec -- sh -c "pacman -Sy autoconf perl && autoreconf -i"
 - echo "" | stack --no-terminal test --pedantic



More information about the ghc-commits mailing list