Wolfgang Jeltsch pushed to branch wip/jeltsch/ghc-9-14-building-base at Glasgow Haskell Compiler / GHC Commits: 98cc92bd by Wolfgang Jeltsch at 2026-07-09T21:03:43+03:00 Add CI job `base-build-with-released-ghcs` - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -65,7 +65,7 @@ stages: - quick-build # A very quick smoke-test to weed out broken commits - full-build # Build all the things - packaging # Source distribution, etc. - - testing # head.hackage correctness and compiler performance testing + - testing # Various tests - deploy # push documentation # Note [The CI Story] @@ -1142,6 +1142,48 @@ ghc-wasm-meta-unreg: UPSTREAM_GHC_FLAVOUR: unreg UPSTREAM_GHC_JOB_NAME: x86_64-linux-alpine3_23-wasm-unreg-cross_wasm32-wasi-release+host_fully_static+text_simdutf +############################################################ +# Building `base` with released GHC versions +############################################################ + +base-build-with-released-ghcs: + stage: testing + needs: + - job: x86_64-linux-deb13-validate + optional: true + - job: nightly-x86_64-linux-deb13-validate + optional: true + - job: release-x86_64-linux-deb13-release + optional: true + dependencies: null + image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb12:$DOCKER_REV" + tags: + - x86_64-linux + script: + - | + # The GHC versions to build `base` with are specified below as a + # whitespace-separated list between apostrophes. + ghc_versions='9.14.1' + sed -E -e 's/^( *ghc-internal)[^[:alnum:]-].*(,|$)/\1\2/' \ + < libraries/base/base.cabal.in \ + > libraries/base/base.cabal + for ghc_version in ${ghc_versions} + do + url=https://downloads.haskell.org/~ghc/${ghc_version}/ghc-${ghc_version}-x86_64-deb12-linux.tar.xz + curl "$url" >ghc-${ghc_version}.tar.xz + tar -xJf ghc-${ghc_version}.tar.xz + cd ghc-${ghc_version}-x86_64-unknown-linux + ./configure --prefix "$PWD/../ghc-${ghc_version}-installed" + make install + cd ../libraries/base + cabal build --with-compiler ../../ghc-${ghc_version}-installed/bin/ghc \ + --allow-boot-library-installs \ + -O0 + cd .. + done + rules: + - *full-ci + ############################################################ # Documentation deployment via GitLab Pages ############################################################ View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/98cc92bd201dd1d3218e198add845fa5... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/98cc92bd201dd1d3218e198add845fa5... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Wolfgang Jeltsch (@jeltsch)