Former-commit-id: 994596a906fea84503b960760ed6048913626c0c
This commit is contained in:
David Himmelstrup 2019-09-10 14:14:17 +08:00
commit 52ea8e4067

View file

@ -8,6 +8,7 @@ trigger:
variables:
STACK_ROOT: $(Pipeline.Workspace)/.stack
STACK_WORK: $(Pipeline.Workspace)/.stack-work
jobs:
#- job: macOS
@ -30,9 +31,14 @@ jobs:
# displayName: Cache stack
- task: CacheBeta@0
inputs:
key: ghc | $(Agent.OS) | stack.yaml | version4
key: stack-root | $(Agent.OS) | stack.yaml
path: $(STACK_ROOT)
displayName: Cache ghc
displayName: Cache stack root
- task: CacheBeta@0
inputs:
key: stack-work | $(Agent.OS) | stack.yaml
path: $(STACK_WORK)
displayName: Cache stack work
- script: |
ghc --version
ghc-pkg list