forked from haskell/happy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
37 lines (32 loc) · 1006 Bytes
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "{build}"
clone_folder: "c:/WORK"
environment:
global:
CABOPTS: "--store-dir=c:/SR --http-transport=plain-http"
C_INCLUDE_PATH: "c:/msys64/mingw64/include"
LIBRARY_PATH: "c:/msys64/mingw64/lib;c:/msys64/mingw64/bin"
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix:
- GHCVER: "8.4.3"
- GHCVER: "8.2.2"
- GHCVER: "8.0.2"
- GHCVER: "7.10.3.2"
- GHCVER: "7.8.4.1"
- GHCVER: "7.6.3.1"
cache:
- "c:/SR"
install:
- "cd c:/"
- "choco install -y cabal"
- "choco install -y ghc --version %GHCVER%"
- "refreshenv"
- "set PATH=C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;%PATH%;C:\\ghc\\ghc-%GHCVERSION%\\bin;C:\\hsbin"
- "cabal --version"
- "ghc --version"
- "cabal %CABOPTS% v2-update -vverbose+nowrap"
build: off
test_script:
- "cd %APPVEYOR_BUILD_FOLDER%"
- "cabal install happy -f -bootstrap --installdir=./bootstrap-root"
- "cabal build happy -f +bootstrap --with-happy=%APPVEYOR_BUILD_FOLDER%/bootstrap-root/happy"
- "cabal test -f +bootstrap"