Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .azure/linux-cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ jobs:
vmImage: ubuntu-16.04
strategy:
matrix:
ghc-8.8.3:
GHC_VERSION: "8.8.3"
ghc-8.8.2:
GHC_VERSION: "8.8.2"
ghc-8.6.5:
Expand Down
4 changes: 2 additions & 2 deletions .azure/linux-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
matrix:
stack-def:
YAML_FILE: stack.yaml
stack-8.8.3:
YAML_FILE: stack-8.8.3.yaml
stack-8.8.2:
YAML_FILE: stack-8.8.2.yaml
stack-8.8.1:
YAML_FILE: stack-8.8.1.yaml
stack-8.6.5:
YAML_FILE: stack-8.6.5.yaml
stack-8.6.4:
Expand Down
3 changes: 1 addition & 2 deletions .azure/macos-installhs-cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
displayName: "Unpack cache"
condition: eq(variables.CACHE_RESTORED, 'true')
- bash: |
# TODO Install ghc-8.8.3 when adding stack-8.8.3.yaml
brew install [email protected]
brew install [email protected]
brew install cabal-install --ignore-dependencies ghc
which cabal
which ghc
Expand Down
4 changes: 2 additions & 2 deletions .azure/macos-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
matrix:
stack-def:
YAML_FILE: stack.yaml
stack-8.8.3:
YAML_FILE: stack-8.8.3.yaml
stack-8.8.2:
YAML_FILE: stack-8.8.2.yaml
stack-8.8.1:
YAML_FILE: stack-8.8.1.yaml
stack-8.6.5:
YAML_FILE: stack-8.6.5.yaml
stack-8.6.4:
Expand Down
8 changes: 4 additions & 4 deletions .azure/windows-cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
matrix:
# ghc versions 8.8.1 and 8.8.2 are not usable in windows
# due to https://gitlab.haskell.org/ghc/ghc/issues/17575
# ghc-8.8.2:
# GHC_VERSION: "8.8.2"
# ghc-8.8.3 throws segfaults in ci envs so we can't use it neither
# due to https://gitlab.haskell.org/ghc/ghc/issues/17926
ghc-8.6.5:
GHC_VERSION: "8.6.5"
ghc-8.4.4:
Expand Down Expand Up @@ -106,8 +106,8 @@ jobs:
- bash: |
source .azure/windows-cabal.bashrc
# Needed for wrapper-test
stack setup --stack-yaml stack-8.8.1.yaml
stack setup --stack-yaml stack-8.6.5.yaml
stack setup --resolver ghc-8.8.1
stack setup --resolver ghc-8.6.5
# TODO Enable :dispatcher-test suite
cabal v2-test :plugin-dispatcher-test :wrapper-test # :dispatcher-test --project-file $PROJECT_FILE
displayName: "Run Test: dispatcher-test, plugin-dispatcher-test and wrapper-test"
Expand Down
4 changes: 3 additions & 1 deletion .azure/windows-installhs-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
variables:
YAML_FILE: install/shake.yaml
STACK_ROOT: "C:\\sr"
GHC_VERSION: "8.6.5"
steps:
- task: Cache@2
inputs:
Expand Down Expand Up @@ -46,7 +47,8 @@ jobs:
- bash: |
source .azure/windows-stack.bashrc
# Some executions fails with spurious errors installing executables
stack install.hs latest || stack install.hs latest
# We can't install the latest target cause it is ghc-8.8.3 and throws segfaults
stack install.hs hie-${GHC_VERSION} || stack install.hs hie-${GHC_VERSION}
displayName: Run latest target of `install.hs`
- bash: |
mkdir -p .azure-cache
Expand Down
10 changes: 6 additions & 4 deletions .azure/windows-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ jobs:
vmImage: windows-2019
strategy:
matrix:
# default stack.yaml uses ghc-8.8.2 so we can't use it for windows
# TODO: Enable it when it uses ghc-8.8.3
# default stack.yaml uses ghc-8.8.3 so we can't use it for windows
# TODO: Enable it when it uses a version without bugs for windows
# stack-def:
# YAML_FILE: stack.yaml
# ghc versions 8.8.1 and 8.8.2 are not usable in windows
# due to https://gitlab.haskell.org/ghc/ghc/issues/17575
# ghc-8.8.3 throws segfaults in ci envs so we can't use it neither
# due to https://gitlab.haskell.org/ghc/ghc/issues/17926
stack-8.6.5:
YAML_FILE: stack-8.6.5.yaml
stack-8.6.4:
Expand Down Expand Up @@ -117,8 +119,8 @@ jobs:
- bash: |
source .azure/windows-stack.bashrc
# Needed for wrapper-test
stack setup --stack-yaml stack-8.8.1.yaml
stack setup --stack-yaml stack-8.6.5.yaml
stack setup --resolver ghc-8.8.1
stack setup --resolver ghc-8.6.5
# TODO: Enable :dispatcher-test suite
stack test :plugin-dispatcher-test :wrapper-test --stack-yaml $(YAML_FILE)
displayName: "Run Test: dispatcher-test, plugin-dispatcher-test and wrapper-test"
Expand Down
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ jobs:
- STACK_FILE: "stack-8.6.5.yaml"
<<: *defaults

ghc-8.8.1:
ghc-8.8.2:
environment:
- STACK_FILE: "stack-8.8.1.yaml"
- STACK_FILE: "stack-8.8.2.yaml"
<<: *defaults

ghc-8.8.2:
ghc-8.8.3:
environment:
- STACK_FILE: "stack-8.8.2.yaml"
- STACK_FILE: "stack-8.8.3.yaml"
<<: *defaults

ghc-nightly:
Expand Down Expand Up @@ -181,7 +181,7 @@ workflows:
- ghc-8.4.4
- ghc-8.6.4
- ghc-8.6.5
- ghc-8.8.1
- ghc-8.8.2
- ghc-8.8.3
- ghc-nightly
- cabal
6 changes: 3 additions & 3 deletions install/shake.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Used to provide a different environment for the shake build script
resolver: lts-13.19 # last lts with GHC 8.6.5
# resolver: nightly-2020-01-31 # GHC 8.8.2
# resolver: nightly-2020-01-21 # last nightly GHC 8.8.1
resolver: lts-14.27 # last lts GHC 8.6.5
# resolver: lts-15.7 # lts GHC 8.8.3
# resolver: lts-15.3 # last lts GHC 8.8.2
# resolver: lts-13.19 # last lts GHC 8.6.4
# resolver: lts-12.26 # last lts GHC 8.4.4
# resolver: lts-12.14 # last lts GHC 8.4.3
Expand Down
23 changes: 5 additions & 18 deletions stack-8.8.1.yaml → stack-8.8.3.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,28 @@
resolver: nightly-2020-01-21 # last GHC 8.8.1
resolver: lts-15.4
packages:
- .
- hie-plugin-api

extra-deps:
# - ./submodules/HaRe

- aeson-1.4.6.0
- apply-refact-0.7.0.0
- brittany-0.12.1.1
- bytestring-trie-0.2.5.0
- bytestring-trie-0.2.5.0@rev1
# - cabal-helper-1.0.0.0
- github: DanielG/cabal-helper
commit: a18bbb2af92e9b4337e7f930cb80754f2408bcfd
- clock-0.7.2
- constrained-dynamic-0.1.0.0
- extra-1.6.21
- floskell-0.10.2
- ghc-lib-parser-ex-8.8.5.3
- haddock-api-2.23.0
- haddock-library-1.8.0
- haskell-lsp-0.20.0.0
- haskell-lsp-types-0.20.0.0
- lsp-test-0.10.1.0
- hie-bios-0.4.0
- hlint-2.2.11
- haddock-api-2.23.1
- hoogle-5.0.17.15
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
- ghc-lib-parser-8.8.2.20200205
- ghc-lib-parser-ex-8.8.5.3
- ilist-0.3.1.0
- monad-dijkstra-0.1.1.2
- ormolu-0.0.3.1
- resourcet-1.2.3 # forced by unliftio-core >= 0.2
- semigroups-0.18.5
- temporary-1.2.1.1
- unliftio-0.2.12.1
- unliftio-core-0.2.0.1

flags:
Expand All @@ -42,8 +31,6 @@ flags:
hie-plugin-api:
pedantic: true

# allow-newer: true

nix:
packages: [ icu libcxx zlib ]

Expand Down
14 changes: 4 additions & 10 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resolver: nightly-2020-03-09 # Last GHC 8.8.2
resolver: nightly-2020-04-09

packages:
- .
- hie-plugin-api
Expand All @@ -7,8 +8,7 @@ extra-deps:
# - ./submodules/HaRe

- apply-refact-0.7.0.0
- brittany-0.12.1.1
- bytestring-trie-0.2.5.0
- bytestring-trie-0.2.5.0@sha256:9efa9c6f556314d28486be2470ff789419c5238ed2e354870623a3cbbd28fbe2,3349
# - cabal-helper-1.0.0.0
- github: DanielG/cabal-helper
commit: a18bbb2af92e9b4337e7f930cb80754f2408bcfd
Expand All @@ -21,18 +21,14 @@ extra-deps:
- haddock-library-1.8.0
- haskell-lsp-0.20.0.0
- haskell-lsp-types-0.20.0.0
- haskell-src-exts-1.22.0
- lsp-test-0.10.1.0
- hie-bios-0.4.0
- hlint-2.2.11
- hoogle-5.0.17.15
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
- ilist-0.3.1.0
- monad-dijkstra-0.1.1.2
- ormolu-0.0.3.1
- resourcet-1.2.3 # forced by unliftio-core >= 0.2
- semigroups-0.18.5
- temporary-1.2.1.1
- unliftio-0.2.12.1
- unliftio-core-0.2.0.1

flags:
Expand All @@ -41,8 +37,6 @@ flags:
hie-plugin-api:
pedantic: true

# allow-newer: true

nix:
packages: [ icu libcxx zlib ]

Expand Down
4 changes: 3 additions & 1 deletion test/utils/TestUtils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ ghcVersion = GHC84

stackYaml :: FilePath
stackYaml =
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,8,2,0)))
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,8,3,0)))
"stack-8.8.3.yaml"
#elif (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,8,2,0)))
"stack-8.8.2.yaml"
#elif (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,8,1,0)))
"stack-8.8.1.yaml"
Expand Down