Skip to content

Commit

Permalink
Merge pull request #5 from haskell-works/circleci-build
Browse files Browse the repository at this point in the history
Circle CI build
  • Loading branch information
newhoggy authored Dec 19, 2019
2 parents 07db2e8 + 49e551e commit b7f2751
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 105 deletions.
61 changes: 61 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
version: 2.1

orbs:
haskell: haskell-works/haskell-build@4.0.2
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0

workflows:
multiple-ghc-build:
jobs:
- haskell/build-with-binary-cache:
name: GHC 8.2.2
executor: haskell/ghc-8_2_2
context: haskell-ci
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
cabal-test-extra: --test-show-details=direct

- haskell/build-with-binary-cache:
name: GHC 8.4.4
executor: haskell/ghc-8_4_4
context: haskell-ci
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
cabal-test-extra: --test-show-details=direct

- haskell/build-with-binary-cache:
name: GHC 8.6.5
executor: haskell/ghc-8_6_5
context: haskell-ci
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
cabal-test-extra: --test-show-details=direct

- haskell/build-with-binary-cache:
name: GHC 8.8.1
executor: haskell/ghc-8_8_1
context: haskell-ci
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
cabal-test-extra: --test-show-details=direct

- github/release-cabal:
name: GitHub Release
context: haskell-ci
requires:
- GHC 8.2.2
- GHC 8.4.4
- GHC 8.6.5
checkout: true
filters:
branches:
only: master

# - hackage/upload:
# context: haskell-ci
# publish: true
# requires:
# - GitHub Release
# username: ${HACKAGE_USER}
# password: ${HACKAGE_PASS}
4 changes: 4 additions & 0 deletions .circleci/whitelist-dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
primitive
transformers
semigroups
vector
105 changes: 0 additions & 105 deletions circle.yml

This file was deleted.

0 comments on commit b7f2751

Please sign in to comment.