You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# this builds all libraries and executables (without tests/benchmarks)
82
92
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
83
93
84
94
# Build with installed constraints for packages in global-db
85
-
- if $INSTALLED; then
86
-
echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks $(${HCPKG} list --global --simple-output --names-only | sed 's/\([a-zA-Z0-9-]\{1,\}\) */--constraint="\1 installed" /g') all | sh;
87
-
else echo "Not building with installed constraints"; fi
95
+
- if $INSTALLED; then echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks $(${HCPKG} list --global --simple-output --names-only | sed 's/\([a-zA-Z0-9-]\{1,\}\) */--constraint="\1 installed" /g') all | sh; else echo "Not building with installed constraints"; fi
88
96
89
97
# build & run tests, build benchmarks
90
98
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
91
-
- if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} all; fi
99
+
- if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} ${BENCH} all; fi
100
+
101
+
# cabal check
102
+
- (cd github-* && cabal check)
92
103
93
104
# haddock
94
105
- rm -rf ./dist-newstyle
95
-
- if $HADDOCK; then cabal new-haddock -w ${HC} --disable-tests --disable-benchmarks all; else echo "Skipping haddock generation";fi
106
+
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
0 commit comments