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
Tobias Haslop
head.hackage
Commits
0c19134d
Verified
Commit
0c19134d
authored
2 years ago
by
Bryan R
Browse files
Options
Downloads
Patches
Plain Diff
CI: Allow test jobs to fail
parent
f983657a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+48
-8
48 additions, 8 deletions
.gitlab-ci.yml
with
48 additions
and
8 deletions
.gitlab-ci.yml
+
48
−
8
View file @
0c19134d
...
...
@@ -70,7 +70,7 @@ variables:
# A build triggered from a ghc/ghc> pipeline.
build-pipeline
:
.
build-pipeline
:
extends
:
.build
before_script
:
-
GHC_TARBALL=$(nix run -f ./ci -c discover_tarball.sh)
...
...
@@ -79,8 +79,19 @@ build-pipeline:
when
:
always
-
when
:
never
build-pipeline
:
extends
:
.build-pipeline
variables
:
BUILD_MODE
:
FULL
test-pipeline
:
extends
:
.build-pipeline
variables
:
BUILD_MODE
:
TEST
allow_failure
:
true
# Build against the master branch
build-master
:
.
build-master
:
extends
:
.build
variables
:
GHC_TARBALL
:
"
https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/master/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release"
...
...
@@ -90,8 +101,19 @@ build-master:
when
:
never
-
when
:
always
build-master
:
extends
:
.build-master
variables
:
BUILD_MODE
:
FULL
test-master
:
extends
:
.build-master
variables
:
BUILD_MODE
:
TEST
allow_failure
:
true
# Build against the 9.2 branch
build-9.2
:
.
build-9.2
:
extends
:
.build
variables
:
GHC_TARBALL
:
"
https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.2/raw/ghc-x86_64-fedora27-linux.tar.xz?job=validate-x86_64-linux-fedora27"
...
...
@@ -101,8 +123,19 @@ build-9.2:
when
:
never
-
when
:
always
build-9.2
:
extends
:
.build-9.2
variables
:
BUILD_MODE
:
FULL
test-9.2
:
extends
:
.build-9.2
variables
:
BUILD_MODE
:
TEST
allow_failure
:
true
# Build against the 9.4 branch
build-9.4
:
.
build-9.4
:
extends
:
.build
variables
:
GHC_TARBALL
:
"
https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.4/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release"
...
...
@@ -112,14 +145,21 @@ build-9.4:
when
:
never
-
when
:
always
build-9.4
:
extends
:
.build-9.4
variables
:
BUILD_MODE
:
FULL
test-9.4
:
extends
:
.build-9.4
variables
:
BUILD_MODE
:
TEST
allow_failure
:
true
.build
:
stage
:
test
interruptible
:
true
parallel
:
matrix
:
-
BUILD_MODE
:
[
FULL
,
TEST
]
tags
:
-
x86_64-linux
...
...
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