Fix stack 8.6 build (#801)

* Fix stack 8.6 build

* Avoid sharing the cache between test and bench stack builds

* Add hie-bios revision to stack.yaml

https://github.com/haskell/ghcide/pull/801#issuecomment-691833344

Skipping other stack descriptors as not strictly needed

* Disable benchmark job until master is fixed
This commit is contained in:
Pepe Iborra 2020-09-14 13:37:18 +01:00 committed by GitHub
parent f79e930bc0
commit 436232dc9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,7 @@ jobs:
- checkout: self
- task: Cache@2
inputs:
key: stack-cache-v2 | $(Agent.OS) | $(Build.SourcesDirectory)/$(STACK_YAML) | $(Build.SourcesDirectory)/ghcide.cabal
key: stack-cache-bench | $(Agent.OS) | $(Build.SourcesDirectory)/$(STACK_YAML) | $(Build.SourcesDirectory)/ghcide.cabal
path: .azure-cache
cacheHitVar: CACHE_RESTORED
displayName: "Cache stack artifacts"

View File

@ -16,4 +16,5 @@ pr:
jobs:
- template: ./.azure/linux-stack.yml
- template: ./.azure/windows-stack.yml
- template: ./.azure/linux-bench.yml
# https://github.com/haskell/ghcide/pull/801
# - template: ./.azure/linux-bench.yml

View File

@ -2,10 +2,11 @@ resolver: nightly-2019-09-21
packages:
- .
extra-deps:
- aeson-1.4.6.0
- haskell-lsp-0.22.0.0
- haskell-lsp-types-0.22.0.0
- lsp-test-0.11.0.5
- hie-bios-0.7.1
- hie-bios-0.7.1@rev:2
- implicit-hie-0.1.1.0
- github: Avi-D-coder/implicit-hie-cradle
commit: f7bfc24ed036e31c0a758b9ab6665c4999eb4fe0