reanimate/azure-pipelines.yml
David Himmelstrup 1fae17a5bf azure: Fix PATH.
Former-commit-id: c19686bc704e1326d0f06bfbb1e80b19146dc83b
2019-07-06 19:36:46 +08:00

21 lines
547 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: |
stack build
displayName: 'Build reanimate'