forked from acid-state/acid-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
59 lines (54 loc) · 1.59 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
clone_folder: "c:\\WORK"
environment:
global:
CABOPTS: "--store-dir=C:\\SR --http-transport=plain-http"
matrix:
- GHCVER: "9.6.1"
CHOCOPTS:
TEST: --enable-tests
BENCH: --enable-benchmarks
# - GHCVER: "8.6.3"
# CHOCOPTS:
# TEST: --enable-tests
# BENCH: --enable-benchmarks
- GHCVER: "8.4.4"
CHOCOPTS:
TEST: --enable-tests
BENCH: --enable-benchmarks
# - GHCVER: "8.2.2"
# CHOCOPTS:
# TEST: --enable-tests
# BENCH: --enable-benchmarks
# - GHCVER: "8.0.2.2"
# CHOCOPTS:
# TEST: --disable-tests
# BENCH: --disable-benchmarks
# - GHCVER: "7.10.3.2"
# CHOCOPTS:
# TEST: --disable-tests
# BENCH: --disable-benchmarks
# - GHCVER: "7.8.4.1"
# CHOCOPTS:
# TEST: --disable-tests
# BENCH: --disable-benchmarks
# - GHCVER: "7.6.3.1"
# CHOCOPTS:
# TEST: --disable-tests
# BENCH: --disable-benchmarks
cache:
- "C:\\SR"
install:
- "choco install -y ghc --version %GHCVER% %CHOCOPTS%"
- "choco install -y cabal %CHOCOPTS%"
- "refreshenv"
- "set PATH=C:\\ghc\\ghc-%GHCVER%:C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;%PATH%"
- "cabal --version"
- "ghc --version"
- "cabal %CABOPTS% update -v"
build: off
test_script:
- "echo packages:. > cabal.project"
- "cabal %CABOPTS% new-build %TEST% %BENCH% -j1 all"
# state-machine test and the benchmarks currently fail as they assume POSIX file semantics
- if [%TEST%]==[--enable-tests] cabal %CABOPTS% new-test -f +skip-state-machine-test
# - if [%BENCH%]==[--enable-benchmarks] cabal %CABOPTS% new-bench