Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haskell-language-server
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
Ben Gamari
haskell-language-server
Commits
05cf9749
Commit
05cf9749
authored
4 years ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
Dhallify
parent
dfdba916
No related branches found
No related tags found
1 merge request
!1
gitlab-ci: Initial commit
Pipeline
#29311
canceled
4 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.dhall
+56
-0
56 additions, 0 deletions
.gitlab-ci.dhall
.gitlab-ci.yml
+232
-41
232 additions, 41 deletions
.gitlab-ci.yml
.gitlab/build-linux.sh
+2
-2
2 additions, 2 deletions
.gitlab/build-linux.sh
with
290 additions
and
43 deletions
.gitlab-ci.dhall
0 → 100644
+
56
−
0
View file @
05cf9749
let
Prelude = https://prelude.dhall-lang.org/v19.0.0/package.dhall sha256:eb693342eb769f782174157eba9b5924cf8ac6793897fc36a31ccbd6f56dafe2
let
GitLab = https://raw.githubusercontent.com/bgamari/dhall-gitlab-ci/84c72592054cc1399fc018093d3516e4116a4d51/package.dhall
let
GhcVersion: Type = Text
let
linuxJob: GhcVersion -> Prelude.Map.Entry Text GitLab.Job.Type = \(ghc_version: GhcVersion) ->
let job: GitLab.Job.Type =
GitLab.Job::
{ image = Some "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
, tags = Some [ "x86_64-linux" ]
, stage = Some "build"
, variables = toMap { GHC_VERSION = ghc_version }
, script = [ "bash .gitlab/build-linux.sh" ]
, cache = Some
{ key = "ghc-${ghc_version}"
, paths = [ "cabal-store/" ]
}
, artifacts = Some
GitLab.ArtifactsSpec::
{ paths = [ "out/haskell-language-server" ]
, expire_in = GitLab.Duration.fromDays 30
}
}
in Prelude.Map.keyValue GitLab.Job.Type "linux-x86_64-ghc${ghc_version}" job
let
ghcVersions: List GhcVersion =
[ "8.10.3"
, "8.10.2"
, "8.10.1"
, "8.8.4"
, "8.8.3"
, "8.8.2"
, "8.8.1"
, "8.6.5"
, "8.6.4"
, "8.6.3"
, "8.6.2"
, "8.6.1"
]
let
top: GitLab.Top.Type =
GitLab.Top::
{ stages = Some [ "build" ]
, jobs = Prelude.List.map GhcVersion (Prelude.Map.Entry Text GitLab.Job.Type) linuxJob ghcVersions
}
in Prelude.JSON.renderYAML (GitLab.Top.toJSON top)
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
232
−
41
View file @
05cf9749
.build
:
image
:
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest
tags
:
-
x86_64-linux
variables
:
# This must be overridden
GHC_VERSION
:
unset
script
:
-
bash .gitlab/build-linux.sh
cache
:
key
:
"
ghc-$GHC_VERSION"
when
:
always
paths
:
-
cabal-store/
artifacts
:
paths
:
-
tmp/haskell-language-server
build-8.8.4
:
extends
:
.build
variables
:
GHC_VERSION
:
"
8.8.4"
build-8.10.1
:
extends
:
.build
variables
:
GHC_VERSION
:
"
8.10.1"
build-8.10.2
:
extends
:
.build
variables
:
GHC_VERSION
:
"
8.10.2"
build-8.10.3
:
extends
:
.build
variables
:
GHC_VERSION
:
"
8.10.3"
"
linux-x86_64-ghc8.10.3"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.10.3"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.10.3"
"
linux-x86_64-ghc8.10.2"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.10.2"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.10.2"
"
linux-x86_64-ghc8.10.1"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.10.1"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.10.1"
"
linux-x86_64-ghc8.8.4"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.8.4"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.8.4"
"
linux-x86_64-ghc8.8.3"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.8.3"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.8.3"
"
linux-x86_64-ghc8.8.2"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.8.2"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.8.2"
"
linux-x86_64-ghc8.8.1"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.8.1"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.8.1"
"
linux-x86_64-ghc8.6.5"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.6.5"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.6.5"
"
linux-x86_64-ghc8.6.4"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.6.4"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.6.4"
"
linux-x86_64-ghc8.6.3"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.6.3"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.6.3"
"
linux-x86_64-ghc8.6.2"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.6.2"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.6.2"
"
linux-x86_64-ghc8.6.1"
:
"
allow_failure"
:
false
"artifacts"
:
"
expire_in"
:
"
2592000
second"
"
paths"
:
-
"
out/haskell-language-server"
"
when"
:
"
on_success"
"
cache"
:
"
key"
:
"
ghc-8.6.1"
"
paths"
:
-
"
cabal-store/"
"
image"
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:latest"
"
script"
:
-
"
bash
.gitlab/build-linux.sh"
"
stage"
:
"
build"
"
tags"
:
-
"
x86_64-linux"
"
variables"
:
"
GHC_VERSION"
:
"
8.6.1"
"
stages"
:
-
"
build"
"
variables"
:
"
GIT_SUBMODULE_STRATEGY"
:
"
normal"
This diff is collapsed.
Click to expand it.
.gitlab/build-linux.sh
+
2
−
2
View file @
05cf9749
...
...
@@ -8,11 +8,11 @@ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
source
~/.ghcup/env
cabal update
mkdir
-p
tmp
mkdir
-p
out
cabal
--store-dir
=
$(
pwd
)
/cabal-store v2-install
\
-j
$CORES
\
exe:haskell-language-server
\
--enable-executable-static
\
--enable-split-sections
\
--installdir
=
./tmp
--installdir
=
$(
pwd
)
/out
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