Commit d314d4f9 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Try to use stack instead of cabal.

See #110. [skip ci]
parent 05b4a6e3
clone_folder: "C:\\msys64\\home\\ghc\\shake-build"
# cache:
# - "C:\\msys64\\home\\cabal"
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
- bash -lc "pacman -S --noconfirm git binutils p7zip gcc"
- curl -L --insecure
- 7z x stack.exe
- stack exec -- pacman -S --noconfirm gcc binutils p7zip git
- stack install -v3 -j --prefix=/usr/local alex happy
- bash -lc "curl -LsS | tar -xJ -C /mingw64 --strip-components=1"
- bash -lc "mkdir -p /usr/local"
- bash -lc "mkdir -p /usr/local/bin"
# - bash -lc "curl -LsS | tar -xz -C /usr/local/bin"
# - bash -lc "mv /usr/local/bin/cabal- /usr/local/bin/cabal.exe"
- bash -lc "curl -LsS | tar -xz -C /usr/local/bin"
- bash -lc "cabal update -v3"
- bash -lc "cabal install -j --prefix=/usr/local alex happy"
- git clone --recursive git:// C:\msys64\mingw64\home\ghc\tmp
- bash -lc "mv /home/ghc/tmp/* /home/ghc"
- cd C:\msys64\mingw64\home\ghc\shake-build
- bash -lc "cd /home/ghc/shake-build && cabal install --only-dependencies"
- stack install --only-dependencies
- bash -lc "cd /home/ghc && ./boot"
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