From 67764e4b98c059179344626882e9b69ecc97ed68 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 2 Feb 2019 12:48:36 -0800 Subject: [PATCH] ci: azure: complete stack install script from appveyor [ci skip] --- azure-pipelines.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fd26c87d8..9bc9cdab7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -71,8 +71,20 @@ pool: steps: -- script: stack install +- script: curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64 + displayName: 'download stack' +- script: 7z x stack.zip stack.exe + displayName: 'unzip stack' +- script: stack --version + displayName: 'stack --version' +- script: stack build --copy-bins --local-bin-path=. displayName: 'stack install' +- script: 7z a -tzip hledger.zip hledger.exe hledger-web.exe + displayName: 'zip executables' +- task: PublishPipelineArtifact@0 + inputs: + artifactName: 'hledger.zip' #$(imageName) + targetPath: 'hledger.zip' # - script: docker build -f Dockerfile -t $(imageName) . # displayName: 'docker build'