Try to use stack instead of cabal.
[ghc.git] / .appveyor.yml
1 clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
2
3 install:
4     - set MSYSTEM=MINGW64
5     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
6     - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
7     - 7z x stack.zip stack.exe
8     - stack exec -- pacman -S --noconfirm gcc binutils p7zip git
9     - stack install -v3 -j --prefix=/usr/local alex happy
10     - bash -lc "curl -LsS http://www.haskell.org/ghc/dist/7.10.1/ghc-7.10.1-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1"
11     - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\mingw64\home\ghc\tmp
12     - bash -lc "mv /home/ghc/tmp/* /home/ghc"
13     - cd C:\msys64\mingw64\home\ghc\shake-build
14     - stack install --only-dependencies
15
16 build_script:
17     - bash -lc "cd /home/ghc && ./boot"
18     - bash -lc "cd /home/ghc && ./configure --enable-tarballs-autodownload"
19     - bash -lc "cd /home/ghc && ./shake-build/build.bat -j --no-progress"