Skip to content

Commit ab6bbcf

Browse files
committed
Build flags for al major os's
1 parent 616f913 commit ab6bbcf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/flags.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ jobs:
4343
strategy:
4444
fail-fast: true
4545
matrix:
46-
ghc: [ "8.10.7"
46+
ghc: [ "9.2.1"
47+
, "9.0.2"
48+
, "8.10.7"
49+
, "8.8.4"
50+
, "8.6.5"
4751
]
4852
os: [ "ubuntu-latest"
4953
]
@@ -65,7 +69,9 @@ jobs:
6569
- name: Build `ghcide` with flags
6670
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe"
6771

68-
- name: Build with pedantic (-WError)
72+
# we have to clean up warnings for 9.0 and 9.2 before enable -WAll
73+
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.1'
74+
name: Build with pedantic (-WError)
6975
run: cabal v2-build --flags="pedantic"
7076

7177
flags_post_job:

0 commit comments

Comments
 (0)