-
Notifications
You must be signed in to change notification settings - Fork 11
/
.appveyor.yml
40 lines (34 loc) · 975 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
38
39
40
version: "{build}"
clone_folder: "c:\\WORK"
environment:
global:
CABOPTS: "--store-dir=C:\\SR --http-transport=plain-http"
matrix:
- GHCVER: "9.0.1"
- GHCVER: "8.10.4"
- GHCVER: "8.8.4"
- GHCVER: "8.6.5"
- GHCVER: "8.4.4"
- GHCVER: "8.2.2"
- GHCVER: "8.0.2"
- GHCVER: "7.10.3.2"
# - GHCVER: "7.8.4.1" fails
# allow_failures:
# - GHCVER: "7.8.4.1"
cache:
- "C:\\SR"
install:
- "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 -vverbose+nowrap"
build: off
test_script:
- IF EXIST configure.ac bash -c "autoreconf -i"
- "cabal %CABOPTS% new-build -j1 -vnormal+nowrap --dry all"
- ps: Push-AppveyorArtifact dist-newstyle\cache\plan.json
- "cabal %CABOPTS% new-build -j1 -vnormal+nowrap all"
- "cabal %CABOPTS% new-test -j1 -vnormal+nowrap all"