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
No related tags found
No related merge requests found
......@@ -288,6 +288,11 @@ hadrian-ghc-in-ghci:
TEST_TYPE: test
MAKE_ARGS: "-Werror"
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 configure
- .gitlab/ci.sh build_make
......@@ -450,12 +455,6 @@ validate-x86_64-darwin:
variables:
BUILD_FLAVOUR: "perf"
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
- sudo chown ghc:ghc -R .
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