reanimate/azure-pipelines.yml
David Himmelstrup 5513c77de6 azure: PATH?
2019-07-06 19:39:29 +08:00

22 lines
586 B
YAML

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
mkdir -p ~/.local/bin
export PATH=$HOME/.local/bin:$PATH
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
displayName: 'Install stack'
- script: |
export PATH=$HOME/.local/bin:$PATH
stack build
displayName: 'Build reanimate'