2017-07-05 20:57:46 +03:00
|
|
|
install:
|
|
|
|
# Using '-y' and 'refreshenv' as a workaround to:
|
|
|
|
# https://github.com/haskell/cabal/issues/3687
|
|
|
|
- choco install -y ghc --version 8.0.2
|
|
|
|
- refreshenv
|
|
|
|
# See http://help.appveyor.com/discussions/problems/6312-curl-command-not-found#comment_42195491
|
|
|
|
# NB: Do this after refreshenv, otherwise it will be clobbered!
|
2017-07-05 21:26:30 +03:00
|
|
|
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%;C:\msys64\usr\bin
|
2017-07-05 20:57:46 +03:00
|
|
|
- curl -o cabal.zip --progress-bar https://www.haskell.org/cabal/release/cabal-install-1.24.0.0/cabal-install-1.24.0.0-x86_64-unknown-mingw32.zip
|
|
|
|
- 7z x -bd cabal.zip
|
|
|
|
- cabal --version
|
|
|
|
- cabal update
|
2017-07-12 20:14:12 +03:00
|
|
|
- curl -o z3.zip -L https://github.com/Z3Prover/z3/releases/download/z3-4.5.0/z3-4.5.0-x64-win.zip
|
2017-07-12 19:54:20 +03:00
|
|
|
- 7z x -bd z3.zip
|
|
|
|
- cp z3-4.5.0-x64-win/bin/z3.exe .
|
2017-07-05 20:57:46 +03:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cabal sandbox init
|
|
|
|
- cabal install Cabal
|
2017-07-12 20:49:59 +03:00
|
|
|
- make
|