File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ matrix:
43
43
- env : GHCVER=8.0.1 SCRIPT=script DEPLOY_DOCS=YES
44
44
sudo : required
45
45
os : linux
46
+ - env : GHCVER=8.0.1 SCRIPT=solver-debug-flags
47
+ sudo : required
48
+ os : linux
46
49
- env : GHCVER=8.0.1 SCRIPT=bootstrap
47
50
sudo : required
48
51
os : linux
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # Build cabal with solver debug flags enabled.
4
+ #
5
+ # We use a sandbox, because cabal-install-1.24.0.0's new-build command tries to
6
+ # build tracetree's dependencies with the inplace Cabal, which leads to compile
7
+ # errors. We also need to skip the tests, because debug-tracetree prints the
8
+ # whole solver tree as JSON.
9
+
10
+ cabal update
11
+ cd cabal-install
12
+ cabal sandbox init
13
+ cabal sandbox add-source ../Cabal
14
+ cabal install --dependencies-only --constraint " cabal-install +debug-tracetree +debug-conflict-sets"
15
+ cabal configure --ghc-option=-Werror --constraint " cabal-install +debug-tracetree +debug-conflict-sets"
16
+ cabal build
You can’t perform that action at this time.
0 commit comments