Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Closed
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
68 changes: 61 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,49 +95,76 @@ defaults: &defaults

version: 2
jobs:
ghc-8.0.2:
environment:
- STACK_FILE: "stack-8.0.2.yaml"
<<: *defaults

ghc-8.2.1:
environment:
- STACK_FILE: "stack-8.2.1.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.2.1
<<: *defaults

ghc-8.2.2:
environment:
- STACK_FILE: "stack-8.2.2.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.2.2
<<: *defaults

ghc-8.4.2:
environment:
- STACK_FILE: "stack-8.4.2.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.4.2
<<: *defaults

ghc-8.4.3:
environment:
- STACK_FILE: "stack-8.4.3.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.4.3
<<: *defaults

ghc-8.4.4:
environment:
- STACK_FILE: "stack-8.4.4.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.4.4
<<: *defaults

ghc-8.6.1:
environment:
- STACK_FILE: "stack-8.6.1.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.6.1
<<: *defaults

ghc-8.6.2:
environment:
- STACK_FILE: "stack-8.6.2.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.6.2
<<: *defaults

ghc-8.6.3:
environment:
- STACK_FILE: "stack-8.6.3.yaml"
persist_to_workspace:
root: .stack-work
paths:
- install/*/*/8.6.3
<<: *defaults

ghc-nightly:
Expand All @@ -148,8 +175,7 @@ jobs:
cabal:
working_directory: ~/build
docker:
# - image: quay.io/haskell_works/ghc-8.4.3
- image: quay.io/haskell_works/ghc-8.6.1
- image: alanz/haskell-hie-ci
steps:
- checkout
- run:
Expand Down Expand Up @@ -178,6 +204,24 @@ jobs:
paths:
- ~/.cabal

shakefile:
docker:
- image: fpco/stack-build
steps:
- checkout # don't checkout submodules: Shakefile.hs should take care of that
- attach_workspace:
at: .stack-work
- run: ./Shakefile.hs build-all
- run: hie-wrapper --version
- run: hie-8.6.3 --version
- run: hie-8.6.2 --version
- run: hie-8.6.1 --version
- run: hie-8.4.4 --version
- run: hie-8.4.3 --version
- run: hie-8.4.2 --version
- run: hie-8.2.3 --version
- run: hie-8.2.2 --version


workflows:
version: 2
Expand All @@ -193,3 +237,13 @@ workflows:
- ghc-8.6.3
- ghc-nightly
- cabal
- shakefile:
requires:
- ghc-8.2.1
- ghc-8.2.2
- ghc-8.4.2
- ghc-8.4.3
- ghc-8.4.4
- ghc-8.6.1
- ghc-8.6.2
- ghc-8.6.3
Loading