Add simple appveyor script
authorHerbert Valerio Riedel <hvr@gnu.org>
Fri, 16 Feb 2018 19:06:33 +0000 (20:06 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Fri, 16 Feb 2018 19:06:33 +0000 (20:06 +0100)
.appveyor.yml [new file with mode: 0644]

diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644 (file)
index 0000000..0c8a1ac
--- /dev/null
@@ -0,0 +1,25 @@
+clone_folder: "c:\\WORK"
+
+environment:
+  global:
+    CABOPTS:  "--store-dir=C:\\SR --http-transport=plain-http"
+  matrix:
+    - GHCVER: "8.2.2"
+    - GHCVER: "8.0.2"
+
+#cache:
+# - "C:\\SR"
+
+install:
+ - "set PATH=C:\\Program Files\\Git\\mingw64\\bin;%PATH%"
+ - "choco install -y ghc --version %GHCVER%"
+ - "refreshenv"
+ - "cabal --version"
+ - "ghc   --version"
+ - "cabal %CABOPTS% update -v"
+
+build: off
+
+test_script:
+ - "echo packages:. > cabal.project"
+ - "cabal %CABOPTS% new-build -j1 all"