forked from ghcjs/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
24 lines (21 loc) · 1.13 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
install:
- choco install HaskellPlatform -version 2014.2.0.0
- SET PATH=C:\Program Files\Haskell Platform\2014.2.0.0\bin;C:\Program Files\Haskell Platform\2014.2.0.0\mingw\bin;C:\Program Files\Haskell Platform\2014.2.0.0\lib\extralibs\bin;%PATH%
- cabal update
build_script:
- cd Cabal
- ghc --make -threaded -i -i. Setup.hs -Wall -Werror
# 'echo "" |' works around an AppVeyor issue:
# https://github.com/commercialhaskell/stack/issues/1097#issuecomment-145747849
- echo "" | cabal install --only-dependencies --enable-tests
- Setup configure --user --ghc-option=-Werror --enable-tests
- Setup build
- Setup test unit-tests --show-details=streaming
- Setup test package-tests --show-details=streaming --test-option=--skip-shared-library-tests --test-option=--pattern=!GhcPkgGuess
- Setup install
- cd ..\cabal-install
- ghc --make -threaded -i -i. Setup.hs -Wall -Werror
- echo "" | cabal install --only-dependencies --enable-tests --force-reinstalls
- Setup configure --user --ghc-option=-Werror --enable-tests
- Setup build
- Setup test unit-tests --show-details=streaming --test-option=--pattern=!FileMonitor