summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-03-01 17:02:39 -0500
committerBen Gamari <ben@smart-cactus.org>2021-03-01 17:04:35 -0500
commit8e3f736d96aaf008e2058754e34bef89ba8c8661 (patch)
treecdfc459a59f9fa2c596364c5b487a4ac39710b70
parentf512f9e232329c3c6c5a809d82216cc90a3a3ec7 (diff)
downloadhaskell-wip/T19455.tar.gz
gitlab-ci: Build releases with hyperlinked sourceswip/T19455
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 77ba17b8c7..cb74dc7db0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,6 +83,7 @@ workflow:
variables:
BUILD_FLAVOUR: "perf"
XZ_OPT: "-9"
+ HADDOCK_HYPERLINKED_SOURCES: "YES"
artifacts:
when: always
expire_in: 1 year
@@ -547,12 +548,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:
@@ -953,6 +948,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"
@@ -1069,11 +1065,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"