Skip to content

Commit 6a51e4f

Browse files
committed
Enable AppVeyor CI
1 parent 1e19662 commit 6a51e4f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.appveyor.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: "{build}"
2+
clone_folder: "c:\\WORK"
3+
4+
environment:
5+
global:
6+
CABOPTS: "--store-dir=C:\\SR --http-transport=plain-http"
7+
matrix:
8+
- GHCVER: "8.6.5"
9+
- GHCVER: "8.4.4"
10+
- GHCVER: "8.2.2"
11+
- GHCVER: "8.0.2.2"
12+
- GHCVER: "7.10.3.2"
13+
14+
cache:
15+
- "C:\\SR"
16+
17+
install:
18+
- "choco install -y cabal"
19+
- "choco install -y ghc --version %GHCVER%"
20+
- "refreshenv"
21+
- "set PATH=C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;%PATH%"
22+
- "cabal --version"
23+
- "ghc --version"
24+
- "cabal %CABOPTS% update -vverbose+nowrap"
25+
26+
build: off
27+
28+
test_script:
29+
- IF EXIST configure.ac bash -c "autoreconf -i"
30+
- "cabal %CABOPTS% new-build -j1 -vnormal+nowrap --dry all"
31+
- ps: Push-AppveyorArtifact dist-newstyle\cache\plan.json
32+
- "cabal %CABOPTS% new-build -j1 -vnormal+nowrap all"
33+
- "cabal %CABOPTS% new-test -j1 -vnormal+nowrap all"

0 commit comments

Comments
 (0)