Skip to content
Snippets Groups Projects
Commit c6378dc8 authored by Ben Gamari's avatar Ben Gamari
Browse files

gitlab-ci: Build Darwin docs with hyperlinked sources

Previously we only built Linux bindists with hyperlinked sources.
parent b0487f2e
No related branches found
Tags ghc-7.10.2-release
No related merge requests found
...@@ -288,6 +288,11 @@ hadrian-ghc-in-ghci: ...@@ -288,6 +288,11 @@ hadrian-ghc-in-ghci:
TEST_TYPE: test TEST_TYPE: test
MAKE_ARGS: "-Werror" MAKE_ARGS: "-Werror"
script: script:
# Build hyperlinked sources for documentation when building releases
- |
if [[ "$RELEASE_JOB" = "yes" ]]; then
HADDOCK_HYPERLINKED_SOURCES=1
fi
- .gitlab/ci.sh setup - .gitlab/ci.sh setup
- .gitlab/ci.sh configure - .gitlab/ci.sh configure
- .gitlab/ci.sh build_make - .gitlab/ci.sh build_make
...@@ -450,12 +455,6 @@ validate-x86_64-darwin: ...@@ -450,12 +455,6 @@ validate-x86_64-darwin:
variables: variables:
BUILD_FLAVOUR: "perf" BUILD_FLAVOUR: "perf"
before_script: before_script:
# Build hyperlinked sources for documentation when building releases
- |
if [[ -n "$CI_COMMIT_TAG" ]]; then
HADDOCK_HYPERLINKED_SOURCES=1
fi
# workaround for docker permissions # workaround for docker permissions
- sudo chown ghc:ghc -R . - sudo chown ghc:ghc -R .
after_script: after_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment