Commit 23ef4993 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add init script, fix path to stak.

See #110. [skip ci]
parent 9ad20c9a
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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment