Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Haskell
ghcup-hs
Commits
5ca40caf
Verified
Commit
5ca40caf
authored
4 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Bump GHC/Cabal in CI
parent
2fdb08ac
No related branches found
No related tags found
1 merge request
!60
Bump GHC/Cabal in CI
Pipeline
#30792
passed
4 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+22
-22
22 additions, 22 deletions
.gitlab-ci.yml
.gitlab/script/ghcup_release.sh
+2
-2
2 additions, 2 deletions
.gitlab/script/ghcup_release.sh
.travis/build.sh
+5
-7
5 additions, 7 deletions
.travis/build.sh
with
29 additions
and
31 deletions
.gitlab-ci.yml
+
22
−
22
View file @
5ca40caf
...
...
@@ -125,8 +125,8 @@ test:linux:bootstrap_script:
script
:
-
./.gitlab/script/ghcup_bootstrap.sh
variables
:
GHC_VERSION
:
"
8.
8.4
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10.3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
extends
:
-
.debian
...
...
@@ -135,14 +135,14 @@ test:linux:bootstrap_script:
test:linux:recommended
:
extends
:
.test_ghcup_version:linux
variables
:
GHC_VERSION
:
"
8.
8.4
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10.3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
test:linux:latest
:
extends
:
.test_ghcup_version:linux
variables
:
GHC_VERSION
:
"
8.10.
2
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.10.
3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
allow_failure
:
true
######## linux 32bit test ########
...
...
@@ -150,7 +150,7 @@ test:linux:latest:
test:linux:recommended:32bit
:
extends
:
.test_ghcup_version:linux32
variables
:
GHC_VERSION
:
"
8.
8.4
"
GHC_VERSION
:
"
8.
10.2
"
CABAL_VERSION
:
"
3.2.0.0"
######## darwin test ########
...
...
@@ -158,14 +158,14 @@ test:linux:recommended:32bit:
test:mac:recommended
:
extends
:
.test_ghcup_version:darwin
variables
:
GHC_VERSION
:
"
8.
8.4
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10.3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
test:mac:latest
:
extends
:
.test_ghcup_version:darwin
variables
:
GHC_VERSION
:
"
8.10.
2
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.10.
3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
allow_failure
:
true
...
...
@@ -174,14 +174,14 @@ test:mac:latest:
test:freebsd:recommended
:
extends
:
.test_ghcup_version:freebsd
variables
:
GHC_VERSION
:
"
8.
8.4
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10.3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
test:freebsd:latest
:
extends
:
.test_ghcup_version:freebsd
variables
:
GHC_VERSION
:
"
8.10.
2
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.10.
3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
allow_failure
:
true
...
...
@@ -195,8 +195,8 @@ release:linux:64bit:
-
./.gitlab/before_script/linux/alpine/install_deps.sh
variables
:
ARTIFACT
:
"
x86_64-linux-ghcup"
GHC_VERSION
:
"
8.
8.4
"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10.3
"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
release:linux:32bit
:
...
...
@@ -207,7 +207,7 @@ release:linux:32bit:
-
./.gitlab/before_script/linux/alpine/install_deps.sh
variables
:
ARTIFACT
:
"
i386-linux-ghcup"
GHC_VERSION
:
"
8.
8.4
"
GHC_VERSION
:
"
8.
10.2
"
CABAL_VERSION
:
"
3.2.0.0"
...
...
@@ -222,8 +222,8 @@ release:darwin:
-
./.gitlab/before_script/darwin/install_deps.sh
variables
:
ARTIFACT
:
"
x86_64-apple-darwin-ghcup"
GHC_VERSION
:
"
8.
8
.3"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10
.3"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
MACOSX_DEPLOYMENT_TARGET
:
"
10.7"
...
...
@@ -238,6 +238,6 @@ release:freebsd:
-
./.gitlab/before_script/freebsd/install_deps.sh
variables
:
ARTIFACT
:
"
x86_64-portbld-freebsd-ghcup"
GHC_VERSION
:
"
8.
8
.3"
CABAL_VERSION
:
"
3.
2
.0.0"
GHC_VERSION
:
"
8.
10
.3"
CABAL_VERSION
:
"
3.
4
.0.0
-rc4
"
This diff is collapsed.
Click to expand it.
.gitlab/script/ghcup_release.sh
+
2
−
2
View file @
5ca40caf
...
...
@@ -22,9 +22,9 @@ if [ "${OS}" = "LINUX" ] ; then
ecabal build
-w
ghc-
${
GHC_VERSION
}
--ghc-options
=
'-split-sections -optl-static'
-ftui
fi
elif
[
"
${
OS
}
"
=
"FREEBSD"
]
;
then
ecabal build
-w
ghc-
${
GHC_VERSION
}
--ghc-options
=
'-split-sections'
--constraint
=
"zlib static"
-ftui
ecabal build
-w
ghc-
${
GHC_VERSION
}
--ghc-options
=
'-split-sections'
--constraint
=
"zlib
+
static"
-ftui
else
ecabal build
-w
ghc-
${
GHC_VERSION
}
--constraint
=
"zlib static"
--constraint
=
"lzma static"
-ftui
ecabal build
-w
ghc-
${
GHC_VERSION
}
--constraint
=
"zlib
+
static"
--constraint
=
"lzma
+
static"
-ftui
fi
mkdir
out
...
...
This diff is collapsed.
Click to expand it.
.travis/build.sh
+
5
−
7
View file @
5ca40caf
...
...
@@ -2,23 +2,21 @@
set
-ex
## install ghc via old ghcup
mkdir
-p
~/.ghcup/bin
curl https://
gitlab
.haskell.org/
haskell/ghcup/raw/master/
ghcup
>
~/.ghcup/bin/ghcup
curl
-sSfL
https://
downloads
.haskell.org/
~ghcup/x86_64-apple-darwin-
ghcup
>
~/.ghcup/bin/ghcup
chmod
+x ~/.ghcup/bin/ghcup
export
PATH
=
"
$HOME
/.ghcup/bin:
$PATH
"
ghcup
install
8.
8
.3
ghcup install-cabal 3.
2
.0.0
ghcup
set
8.
8
.3
ghcup
install
8.
10
.3
ghcup install-cabal 3.
4
.0.0
-rc4
ghcup
set
8.
10
.3
## install ghcup
cabal update
cabal build
--constraint
=
"zlib static"
--constraint
=
"lzma static"
-ftui
cabal build
--constraint
=
"zlib
+
static"
--constraint
=
"lzma
+
static"
-ftui
cp
"
$(
cabal new-exec
--verbose
=
0
--offline
sh
--
-c
'command -v ghcup'
)
"
.
strip ./ghcup
cp
ghcup
"./
${
ARTIFACT
}
"
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