aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 10 insertions, 18 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c156e4967..00135c94d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,36 +50,28 @@ jobs:
versions:
- ghc: '8.10'
cabal: 'latest'
- cabalopts: ''
- ghcopts: '-Werror'
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.0'
cabal: 'latest'
- cabalopts: ''
- ghcopts: '-Werror'
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.2'
cabal: 'latest'
- cabalopts: ''
- ghcopts: '-Werror'
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.4'
cabal: 'latest'
- cabalopts: ''
- ghcopts: '-Werror'
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.6'
cabal: 'latest'
- cabalopts: ''
- ghcopts: '-Werror'
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.8'
cabal: 'latest'
- cabalopts: ''
- ghcopts: '-Werror'
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.10'
cabal: 'latest'
- cabalopts: ''
- ghcopts: ''
+ cabalopts: '--ghc-option=-Werror'
- ghc: '9.12'
cabal: 'latest'
- cabalopts: '--allow-newer'
- ghcopts: ''
+ cabalopts: '--allow-newer --ghc-option=-Werror'
steps:
- uses: actions/checkout@v4
@@ -120,8 +112,8 @@ jobs:
- name: Build and test
run: |
- cabal build ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
- cabal test ${{ matrix.versions.cabalopts }} --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
+ cabal build ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization all
+ cabal test ${{ matrix.versions.cabalopts }} --disable-optimization all
linux-stack: