aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-01-06 23:35:11 -0800
committerJohn MacFarlane <[email protected]>2025-01-06 23:35:11 -0800
commit3511f1652e63004a162a7e35e8bdf63b5de9523f (patch)
tree0f15d66b4792b0107984e98cd5b5c1b530f3b77d /.github/workflows
parent564be58fa866dd10e82292c09948eb8c80051ab1 (diff)
CI: don't use -Werror on ghc 9.10.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce5ab0b33..1eaf85578 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,24 +51,31 @@ jobs:
- ghc: '8.10'
cabal: 'latest'
cabalopts: ''
+ ghcopts: '-Werror'
- ghc: '9.0'
cabal: 'latest'
cabalopts: ''
+ ghcopts: '-Werror'
- ghc: '9.2'
cabal: 'latest'
cabalopts: ''
+ ghcopts: '-Werror'
- ghc: '9.4'
cabal: 'latest'
cabalopts: ''
+ ghcopts: '-Werror'
- ghc: '9.6'
cabal: 'latest'
cabalopts: ''
+ ghcopts: '-Werror'
- ghc: '9.8'
cabal: 'latest'
cabalopts: ''
+ ghcopts: '-Werror'
- ghc: '9.10'
cabal: 'latest'
cabalopts: ''
+ ghcopts: ''
steps:
- uses: actions/checkout@v4
@@ -109,7 +116,7 @@ jobs:
- name: Build and test
run: |
- cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all
+ cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
linux-stack:
@@ -201,7 +208,7 @@ jobs:
dist-newstyle
key: ${{ runner.os }}-stack-work-${{ hashFiles('cabal.project') }}-${{ secrets.CACHE_VERSION }}
- - name: Install dependencies
+ - name: Build and test
run: |
cabal update
cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all