Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teo Camarasu
head.hackage
Commits
550f65e9
Commit
550f65e9
authored
2 years ago
by
Matthew Pickering
Browse files
Options
Downloads
Patches
Plain Diff
Add 9.6 build jobs to build against new 9.6 branch
parent
bc25b7d2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+32
-1
32 additions, 1 deletion
.gitlab-ci.yml
ci/config.sh
+4
-0
4 additions, 0 deletions
ci/config.sh
with
36 additions
and
1 deletion
.gitlab-ci.yml
+
32
−
1
View file @
550f65e9
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
ci/config.sh
+
4
−
0
View file @
550f65e9
...
...
@@ -83,6 +83,10 @@ case $version in
# package ticket
;;
9.6.
*
)
# package ticket
;;
9.7.
*
)
# package ticket
broken what4 22663
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment