[commit: packages/haskeline] master: Add an Appveyor build. (#92) (0d42f1c)
git at git.haskell.org
git at git.haskell.org
Tue Nov 27 20:23:16 UTC 2018
Repository : ssh://git@git.haskell.org/haskeline
On branch : master
Link : http://git.haskell.org/packages/haskeline.git/commitdiff/0d42f1ce7f4d1f084ddf5987dffb306e3fede1b7
>---------------------------------------------------------------
commit 0d42f1ce7f4d1f084ddf5987dffb306e3fede1b7
Author: Judah Jacobson <judah at users.noreply.github.com>
Date: Sat Oct 6 03:57:57 2018 -0700
Add an Appveyor build. (#92)
>---------------------------------------------------------------
0d42f1ce7f4d1f084ddf5987dffb306e3fede1b7
appveyor.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..6cd2b7d
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,26 @@
+build: off
+
+before_test:
+# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
+- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
+
+- curl -sS -ostack.zip -L --insecure https://get.haskellstack.org/stable/windows-x86_64.zip
+- 7z x stack.zip stack.exe
+
+clone_folder: "c:\\stack"
+environment:
+ global:
+ STACK_ROOT: "c:\\sr"
+
+ # Override the temp directory to avoid sed escaping issues
+ # See https://github.com/haskell/cabal/issues/5386
+ TMP: "c:\\tmp"
+
+test_script:
+
+# Install toolchain, but do it silently due to lots of output
+- stack %ARGS% setup > nul
+
+# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
+# descriptor
+- echo "" | stack --no-terminal test
More information about the ghc-commits
mailing list