Add CI job for cabal new-build

This commit is contained in:
Luke Lau 2018-07-21 20:15:04 +01:00
parent 610841063a
commit a0b12feb2d

View File

@ -113,6 +113,26 @@ jobs:
- STACK_FILE: "stack.yaml"
<<: *defaults
cabal:
docker:
- image: haskell/8.4.3
steps:
- checkout
- run: git submodule update --recursive --init
- restore-cache: cabal
- run:
- name: Configure
- command: cabal new-configure
- run:
- name: Build
- command: cabal new-build
- save_cache:
key: cabal
paths:
- dist
- new-dist
workflows:
version: 2
multiple-ghcs:
@ -122,4 +142,4 @@ workflows:
- ghc-8.4.2
- ghc-8.4.3
- ghc-nightly
- cabal