[commit: ghc] wip/nfs-locking: Add init script, fix path to stak. (23ef499)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:02:27 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/23ef49931f9e0970746cd603c46e4a996438d27e/ghc

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

commit 23ef49931f9e0970746cd603c46e4a996438d27e
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Jan 8 01:18:48 2016 +0000

    Add init script, fix path to stak.
    
    See #110. [skip ci]


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

23ef49931f9e0970746cd603c46e4a996438d27e
 .appveyor.yml | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 9e1ed1e..5ad5f0b 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,6 +1,7 @@
 clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
 
-install:
+init: 
+    - cd
     - set MSYSTEM=MINGW64
     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
     - curl -ostack.zip -LsS --insecure https://www.stackage.org/stack/windows-x86_64
@@ -9,12 +10,13 @@ install:
     - stack exec -- pacman -S --noconfirm gcc binutils p7zip git
     - echo "" | stack --no-terminal install alex happy shake ansi-terminal mtl
     - set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\local\bin\
-    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc\tmp
-    - bash -lc "mv /home/ghc/tmp/* /home/ghc"
+    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc
+
+install:
     - cd C:\msys64\home\ghc
-    - C:\stack exec -- mk/get-win32-tarballs.sh download x86_64
+    - shake-build\stack.exe exec -- mk/get-win32-tarballs.sh download x86_64
 
 build_script:
-    - bash -lc "cd /home/ghc && ./boot"
-    - bash -lc "cd /home/ghc && echo \"\" | ./configure"
-    - bash -lc "cd /home/ghc && ./shake-build/build.bat -j --no-progress"
+    - bash -lc "./boot"
+    - bash -lc "echo \"\" | ./configure"
+    - bash -lc "./shake-build/build.bat -j --no-progress"



More information about the ghc-commits mailing list