Windows build (#150)

This commit is contained in:
Aditya Manthramurthy 2020-05-29 15:54:41 -07:00 committed by GitHub
parent 8e4874972b
commit ce23f7322a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,14 +12,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ghc: ['8.6.5', '8.8.3']
cabal: ['2.4.1.0', '3.0.0.0']
os: [ubuntu-latest, macOS-latest] #, windows-latest]
cabal: ['2.4', '3.0', '3.2']
os: [ubuntu-latest, macOS-latest, windows-latest]
exclude:
# GHC 8.8+ only works with cabal v3+
- ghc: 8.8.3
cabal: 2.4.1.0
cabal: 2.4
# Appears to be buggy to build in windows
- ghc: 8.8.3
os: windows-latest
steps:
- uses: actions/checkout@v2
@ -43,7 +47,7 @@ jobs:
- name: Install dependencies
run: |
cabal v2-update
cabal v2-build --only-dependencies --enable-tests --enable-benchmarks
cabal v2-build --only-dependencies --enable-tests --enable-benchmarks --verbose=2
- name: Build
run: cabal v2-build --enable-tests --enable-benchmarks all
- name: Run tests