cryptol/.appveyor.yml

26 lines
928 B
YAML
Raw Normal View History

environment:
matrix:
- GHC_VERSION: 8.4.4
- GHC_VERSION: 8.6.5
- GHC_VERSION: 8.8.1
2017-07-05 20:57:46 +03:00
install:
# Using '-y' and 'refreshenv' as a workaround to:
# https://github.com/haskell/cabal/issues/3687
2019-10-23 02:48:46 +03:00
- choco install -y ghc --version %GHC_VERSION%
2017-07-05 20:57:46 +03:00
- 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!
2019-10-25 00:20:46 +03:00
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%;C:\msys64\usr\bin;%APPVEYOR_BUILD_FOLDER%\bin
- curl -o z3.zip -L https://github.com/Z3Prover/z3/releases/download/z3-4.7.1/z3-4.7.1-x64-win.zip
2017-07-12 19:54:20 +03:00
- 7z x -bd z3.zip
2019-10-25 00:20:46 +03:00
- mkdir %APPVEYOR_BUILD_FOLDER%\bin
- cp z3-4.7.1-x64-win/bin/z3.exe %APPVEYOR_BUILD_FOLDER%\bin
2017-07-05 20:57:46 +03:00
build_script:
2019-10-25 00:03:30 +03:00
#- cp cabal.GHC-%GHC_VERSION%.config cabal.project.freeze
- cabal v2-update
- cabal v2-configure --allow-newer
2019-10-23 22:58:47 +03:00
- bash cry build
- bash cry test