Windows build (#150)
This commit is contained in:
parent
8e4874972b
commit
ce23f7322a
12
.github/workflows/haskell.yml
vendored
12
.github/workflows/haskell.yml
vendored
@ -12,14 +12,18 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
ghc: ['8.6.5', '8.8.3']
|
ghc: ['8.6.5', '8.8.3']
|
||||||
cabal: ['2.4.1.0', '3.0.0.0']
|
cabal: ['2.4', '3.0', '3.2']
|
||||||
os: [ubuntu-latest, macOS-latest] #, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
exclude:
|
exclude:
|
||||||
# GHC 8.8+ only works with cabal v3+
|
# GHC 8.8+ only works with cabal v3+
|
||||||
- ghc: 8.8.3
|
- 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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -43,7 +47,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cabal v2-update
|
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
|
- name: Build
|
||||||
run: cabal v2-build --enable-tests --enable-benchmarks all
|
run: cabal v2-build --enable-tests --enable-benchmarks all
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user