Skip to content
Snippets Groups Projects
Commit 550f65e9 authored by Matthew Pickering's avatar Matthew Pickering
Browse files

Add 9.6 build jobs to build against new 9.6 branch

parent bc25b7d2
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
# cabal v2-build builds and preserves their results.
#
# The compiler to be tested can be taken from a number of sources. The
# build-master and build-9.2 jobs form the validation pipeline of the
# build-master and build-9-* jobs form the validation pipeline of the
# head.hackage repository. In addition, other GitLab projects (e.g. ghc/ghc>)
# can trigger a multi-project pipeline, specifying a GHC binary distribution
# via either the GHC_TARBALL or UPSTREAM_* variables.
......@@ -181,6 +181,37 @@ test-9.4:
BUILD_MODE: TEST
allow_failure: true
# Build against the 9.6 branch
.build-9.6:
extends: .build
before_script:
- |
if [ -e store.nar ]; then
echo "Extracting cached Nix store..."
nix-store --import -vv < store.nar || echo "invalid cache"
else
echo "No cache found"
fi
- GHC_TARBALL=$(nix run -f ./ci -c discover_tarball.sh)
variables:
UPSTREAM_BRANCH_NAME: ghc-9.6
EXTRA_HC_OPTS: "-dcore-lint"
rules:
- if: '$UPSTREAM_COMMIT_SHA || $UPSTREAM_PIPELINE_ID'
when: never
- when: always
build-9.6:
extends: .build-9.6
variables:
BUILD_MODE: FULL
test-9.6:
extends: .build-9.6
variables:
BUILD_MODE: TEST
allow_failure: true
.build:
stage: test
interruptible: true
......
......@@ -83,6 +83,10 @@ case $version in
# package ticket
;;
9.6.*)
# package ticket
;;
9.7.*)
# package ticket
broken what4 22663
......
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