Commit c4f94320 authored by Takenobu Tani's avatar Takenobu Tani Committed by Marge Bot
Browse files

Add `-haddock` to and .gitlab-ci.yml

To cover ci conditions from ghc8.6 to 8.9, I add `-haddock` option
to `.circleci/` and .gitlab-ci.yml.
after including `mk/flavours/*`.
parent 43a39c3c
......@@ -30,6 +30,7 @@ BuildFlavour=$BUILD_FLAVOUR
ifneq "\$(BuildFlavour)" ""
include mk/flavours/\$(BuildFlavour).mk
case "$(uname)" in
......@@ -608,6 +608,7 @@ nightly-i386-windows-hadrian:
python boot
bash -c './configure --enable-tarballs-autodownload GHC=`pwd`/toolchain/bin/ghc HAPPY=`pwd`/toolchain/bin/happy ALEX=`pwd`/toolchain/bin/alex $CONFIGURE_ARGS'
- bash -c "echo include mk/flavours/${BUILD_FLAVOUR}.mk > mk/"
- bash -c "echo 'GhcLibHcOpts+=-haddock' >> mk/"
- bash -c "PATH=`pwd`/toolchain/bin:$PATH make -j`mk/`"
- bash -c "PATH=`pwd`/toolchain/bin:$PATH make binary-dist TAR_COMP_OPTS=-1"
- bash -c 'make V=0 test THREADS=`mk/` JUNIT_FILE=../../junit.xml'
SRC_HC_OPTS = -O -H64m
GhcStage1HcOpts = -O2
GhcStage2HcOpts = -O2
GhcLibHcOpts = -O2 -haddock
GhcLibHcOpts = -O2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment