ci: azure: try stack install

[ci skip]
This commit is contained in:
Simon Michael 2019-02-02 12:42:06 -08:00
parent 78f5c693ec
commit 2075192b3c

View File

@ -8,6 +8,7 @@ trigger:
# - releases/* # - releases/*
batch: true batch: true
paths: paths:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/file-matching-patterns
# include: # file paths which must match to trigger a build # include: # file paths which must match to trigger a build
# - docs/* # - docs/*
exclude: # file paths which will not trigger a build exclude: # file paths which will not trigger a build
@ -70,17 +71,24 @@ pool:
steps: steps:
- script: stack install
displayName: 'stack install'
# - script: docker build -f Dockerfile -t $(imageName) . # - script: docker build -f Dockerfile -t $(imageName) .
# displayName: 'docker build' # displayName: 'docker build'
# hledger-install won't run on ms windows agent:
# Sorry, this installer does not support your operating system: MINGW64_NT-10.0.
# 2019-02-02T20:34:47.0085295Z See http://docs.haskellstack.org/en/stable/install_and_upgrade/
#
# - script: bash hledger-install/hledger-install.sh # - script: bash hledger-install/hledger-install.sh
# displayName: 'hledger-install.sh' # displayName: 'hledger-install.sh'
#
- bash: hledger-install/hledger-install.sh # - bash: hledger-install/hledger-install.sh
# workingDirectory: # # displayName: 'hledger-install.sh'
displayName: 'hledger-install.sh' # # workingDirectory: #
# failOnStderr: # # # failOnStderr: #
# env: # mapping of environment variables to add # # env: # mapping of environment variables to add
# reference # reference