-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
35 lines (30 loc) · 1014 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
clone_folder: "c:\\WORK"
environment:
global:
CABOPTS: "--store-dir=C:\\SR --http-transport=plain-http --enable-tests --enable-benchmarks"
matrix:
- GHCVER: "9.2.2"
- GHCVER: "9.0.2"
- GHCVER: "8.10.7"
- GHCVER: "8.8.4.1"
- GHCVER: "8.6.5"
- GHCVER: "8.4.4"
# We deliberately do not test any versions older than GHC 9.4, as GHC 8.2
# is unable to build text-2.0 on Windows. See the discussion at
# https://github.com/haskell/text/pull/404.
cache:
- "C:\\SR"
install:
- ps: Set-Service wuauserv -StartupType Manual
- "choco install -y cabal"
- "choco install -y ghc --version %GHCVER%"
- "refreshenv"
- "set PATH=C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;%PATH%"
- "cabal --version"
- "ghc --version"
- "cabal %CABOPTS% update -v"
build: off
test_script:
- IF EXIST configure.ac bash -c "autoreconf -i"
- "cabal %CABOPTS% new-build -j2 --enable-tests --enable-benchmarks all"
- "cabal %CABOPTS% new-test -j2 --enable-tests --enable-benchmarks all"