From 92fad7be014f3d3b194528f77a3bd24d17f87cce Mon Sep 17 00:00:00 2001 From: Jan Schulz Date: Fri, 13 May 2016 00:43:15 +0200 Subject: [PATCH] Better way to find the artifacts on appveyor --- appveyor.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 05aa0c268..0303a9ddf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,8 @@ cache: - "c:\\sr" # stack root, short paths == fewer problems - '%LOCALAPPDATA%\Programs\stack' # even less to install... -# build: off # this disables automatic builds +# We don't do a normal C build, but build in test_script via stack +build: off install: - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386 @@ -27,11 +28,12 @@ before_test: test_script: # The ugly echo "" hack is to avoid complaints about 0 being an invalid file # descriptor - - echo "" | stack --no-terminal test + - echo "" | stack --no-terminal test + - echo "" | stack --local-bin-path . install pandoc after_test: - - ps: | - 7z a pandoc.zip $(.\stack.exe path --local-install-root)\bin\pandoc*.exe + # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is) + - 7z a "pandoc.zip" windows\pandoc.exe" artifacts: - path: pandoc.zip