Skip to content

Commit

Permalink
Windows build (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
donatello authored May 29, 2020
1 parent 8e48749 commit ce23f73
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ce23f73

Please sign in to comment.