summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-03-01 17:02:39 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-04 23:16:24 -0500
commit1a52c53bb7bc5ef91e251306cf056fcee6a4e15c (patch)
tree9a601d6adf2a34d46660e1e76955f015c9fa6a59
parent9de44e57808e601f78eaafeaa4287666bf8bfb95 (diff)
downloadhaskell-1a52c53bb7bc5ef91e251306cf056fcee6a4e15c.tar.gz
gitlab-ci: Build releases with hyperlinked sources
Fixes #19455.
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de1673ef9f..cb4c6d4bcc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -85,6 +85,7 @@ workflow:
variables:
BUILD_FLAVOUR: "perf"
XZ_OPT: "-9"
+ HADDOCK_HYPERLINKED_SOURCES: "YES"
artifacts:
when: always
expire_in: 1 year
@@ -552,12 +553,6 @@ validate-x86_64-darwin:
variables:
BUILD_FLAVOUR: "validate"
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:
@@ -958,6 +953,7 @@ release-x86_64-linux-fedora27-dwarf:
<<: *release
extends: .build-x86_64-linux-fedora27
variables:
+ HADDOCK_HYPERLINKED_SOURCES: "yes"
CONFIGURE_ARGS: "--enable-dwarf-unwind"
BUILD_FLAVOUR: dwarf
BIN_DIST_PREP_TAR_COMP: "ghc-x86_64-fedora27-linux-dwarf.tar.xz"
@@ -1074,11 +1070,13 @@ release-x86_64-windows:
extends: .build-x86_64-windows-hadrian
variables:
BUILD_FLAVOUR: "perf"
+ HADDOCK_HYPERLINKED_SOURCES: "yes"
release-x86_64-windows-integer-simple:
<<: *release
extends: .build-x86_64-windows-hadrian
variables:
+ HADDOCK_HYPERLINKED_SOURCES: "yes"
BIGNUM_BACKEND: native
BUILD_FLAVOUR: "perf"
BIN_DIST_NAME: "ghc-x86_64-mingw32-unknown-nogmp"