GitHub CI - try with stack.

This commit is contained in:
John MacFarlane 2019-09-12 23:27:56 -07:00
parent f2612fa1ae
commit 4411af8062

View file

@ -9,12 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install recent cabal/ghc
run: add-apt-repository ppa:hvr/ghc && apt-get update && apt-get install ghc-8.6.4 cabal-install-2.4
- name: Install dependencies
run: cabal v2-update && cabal v2-build --dependencies-only --enable-tests
- name: Build
run: stack update && stack build --only-dependencies
- name: Build and test
run: |
cabal v2-build --enable-tests
- name: Run tests
run: cabal v2-test
stack test