| ... |
... |
@@ -65,7 +65,7 @@ stages: |
|
65
|
65
|
- quick-build # A very quick smoke-test to weed out broken commits
|
|
66
|
66
|
- full-build # Build all the things
|
|
67
|
67
|
- packaging # Source distribution, etc.
|
|
68
|
|
- - testing # head.hackage correctness and compiler performance testing
|
|
|
68
|
+ - testing # Various tests
|
|
69
|
69
|
- deploy # push documentation
|
|
70
|
70
|
|
|
71
|
71
|
# Note [The CI Story]
|
| ... |
... |
@@ -1142,6 +1142,48 @@ ghc-wasm-meta-unreg: |
|
1142
|
1142
|
UPSTREAM_GHC_FLAVOUR: unreg
|
|
1143
|
1143
|
UPSTREAM_GHC_JOB_NAME: x86_64-linux-alpine3_23-wasm-unreg-cross_wasm32-wasi-release+host_fully_static+text_simdutf
|
|
1144
|
1144
|
|
|
|
1145
|
+############################################################
|
|
|
1146
|
+# Building `base` with released GHC versions
|
|
|
1147
|
+############################################################
|
|
|
1148
|
+
|
|
|
1149
|
+base-build-with-released-ghcs:
|
|
|
1150
|
+ stage: testing
|
|
|
1151
|
+ needs:
|
|
|
1152
|
+ - job: x86_64-linux-deb13-validate
|
|
|
1153
|
+ optional: true
|
|
|
1154
|
+ - job: nightly-x86_64-linux-deb13-validate
|
|
|
1155
|
+ optional: true
|
|
|
1156
|
+ - job: release-x86_64-linux-deb13-release
|
|
|
1157
|
+ optional: true
|
|
|
1158
|
+ dependencies: null
|
|
|
1159
|
+ image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb12:$DOCKER_REV"
|
|
|
1160
|
+ tags:
|
|
|
1161
|
+ - x86_64-linux
|
|
|
1162
|
+ script:
|
|
|
1163
|
+ - |
|
|
|
1164
|
+ # The GHC versions to build `base` with are specified below as a
|
|
|
1165
|
+ # whitespace-separated list between apostrophes.
|
|
|
1166
|
+ ghc_versions='9.14.1'
|
|
|
1167
|
+ sed -E -e 's/^( *ghc-internal)[^[:alnum:]-].*(,|$)/\1\2/' \
|
|
|
1168
|
+ < libraries/base/base.cabal.in \
|
|
|
1169
|
+ > libraries/base/base.cabal
|
|
|
1170
|
+ for ghc_version in ${ghc_versions}
|
|
|
1171
|
+ do
|
|
|
1172
|
+ url=https://downloads.haskell.org/~ghc/${ghc_version}/ghc-${ghc_version}-x86_64-deb12-linux.tar.xz
|
|
|
1173
|
+ curl "$url" >ghc-${ghc_version}.tar.xz
|
|
|
1174
|
+ tar -xJf ghc-${ghc_version}.tar.xz
|
|
|
1175
|
+ cd ghc-${ghc_version}-x86_64-unknown-linux
|
|
|
1176
|
+ ./configure --prefix "$PWD/../ghc-${ghc_version}-installed"
|
|
|
1177
|
+ make install
|
|
|
1178
|
+ cd ../libraries/base
|
|
|
1179
|
+ cabal build --with-compiler ../../ghc-${ghc_version}-installed/bin/ghc \
|
|
|
1180
|
+ --allow-boot-library-installs \
|
|
|
1181
|
+ -O0
|
|
|
1182
|
+ cd ..
|
|
|
1183
|
+ done
|
|
|
1184
|
+ rules:
|
|
|
1185
|
+ - *full-ci
|
|
|
1186
|
+
|
|
1145
|
1187
|
############################################################
|
|
1146
|
1188
|
# Documentation deployment via GitLab Pages
|
|
1147
|
1189
|
############################################################
|