File tree Expand file tree Collapse file tree 2 files changed +24
-62
lines changed Expand file tree Collapse file tree 2 files changed +24
-62
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
33
run : cabal test all --enable-tests
34
34
- name : Haddock
35
35
run : cabal haddock all
36
+ build_with_mtl_2_3 :
37
+ runs-on : ${{ matrix.os }}
38
+ strategy :
39
+ fail-fast : false
40
+ matrix :
41
+ ghc : ['9.4.4']
42
+ cabal : ['3.8.1.0']
43
+ os : [ubuntu-latest]
44
+ name : Cabal with GHC ${{ matrix.ghc }} and mtl >= 2.3.1
45
+ steps :
46
+ - uses : actions/checkout@v3
47
+ - name : Setup Haskell
48
+ uses : haskell/actions/setup@v2
49
+ with :
50
+ ghc-version : ${{ matrix.ghc }}
51
+ cabal-version : ${{ matrix.cabal }}
52
+ - name : Install dependencies
53
+ run : sudo apt install -y libbrotli-dev libgd-dev
54
+ - name : Build dependencies with mtl >= 2.3.1
55
+ # 2022-12-30: 'transformers >= 0.6' is needed because of happstack-server
56
+ run : cabal build all --disable-tests --dependencies-only -O0 --constraint 'mtl >= 2.3.1' --constraint 'transformers >= 0.6' --allow-newer='Cabal:mtl' --allow-newer='Cabal:transformers'
57
+ - name : Build with mtl >= 2.3.1
58
+ # 2022-12-30: 'transformers >= 0.6' is needed because of happstack-server
59
+ run : cabal build all --disable-tests -O0 --constraint 'mtl >= 2.3.1' --constraint 'transformers >= 0.6' --allow-newer='Cabal:mtl' --allow-newer='Cabal:transformers'
You can’t perform that action at this time.
0 commit comments